I have an event called "crate" with a "action key" trigger and this code:
<>Move Event:: This Event (Ignore Impossible moves)
: :<>Move away from hero
<>Wait: 5 Frames
<>
How can i make it so that when it is in a certain spot, the value of a variable goes up? I tried to do this with events, but it didn't work.