In Construct 2 example about creating an animated player, they used more than 8 events:
4 events to store movement direction into Direction
variable from Player.8Direction.MovingAngle
4 events to select animation based on Direction
value
1 event to stop animation
Apparently if would be much easier to do the same with simple if-else code with 4 or 5 cases. Is it possible in Construct 2
?
UPDATE
I didn't find scripting, but was able to express the same example in more condensed way:
All names are from example.