EVENT PLAYER TOUCH PROBLEM
Posts
Pages:
1
Situation:
1) Player is standing on the EVENT A. (its set to execute on player touch.
- Event A is inactive, because it's switch A is OFF.
2) Another EVENT B changes state and switches switch A on.
3) Problem:
EVENT A doesn't execute - player is already standing on the EVENT A and it doesn't count as PLAYER TOUCH.
Please, how do I get the event to execute if player's already standing on it?
1) Player is standing on the EVENT A. (its set to execute on player touch.
- Event A is inactive, because it's switch A is OFF.
2) Another EVENT B changes state and switches switch A on.
3) Problem:
EVENT A doesn't execute - player is already standing on the EVENT A and it doesn't count as PLAYER TOUCH.
Please, how do I get the event to execute if player's already standing on it?
Switch A? Are you using self-switches, or are you just using "SWITCH A" as general reference? If this is a self-switch, events don't necessarily "see" another event's self-switches. Well, there's probably a way to script around it, but I don't know what the line would look like.
I see. Well, outside of "Switch A" needing to be on, what are the other triggers of the event? I assume that it's "On Player Touch", but I'm wondering if positioning ("Below Hero" versus "Same as Hero") might be doing something as well?
If the spot that you need to stand on does not move, you can use a parallel process event that keeps setting the player's X and Y position to 2 different variables and then checks to see if the player's coordinates matches the spot's location.
author=ShoobinatorHow do I do that?
If the spot that you need to stand on does not move, you can use a parallel process event that keeps setting the player's X and Y position to 2 different variables and then checks to see if the player's coordinates matches the spot's location.
UPDATE: Never mind, got it! Thank you...:)
Pages:
1















