Hello,
I have a problem with my actual game. My Charakter must watch out not to be seen by Guards. The Guards change their direction.
I have three kinds of events: The guards, with 2 Pages one looking up, one looking done. Some Events in front of the guards, wich are player touch on one page, and empty on the other. The third event is a parallel process wich changes one switch every 100 frames. When the switch is activated the guard looks up, and the events in front of the guard are on the player touch page. The only problem is, when the player walks behind the guard, doesn't move and the guard turns around, nothing happens, because the player doesn't touch the event, because he is already on it.
How could i fix this?
If my english is a little bit bad, I'm sorry for this, but english is not my native language.
I have a problem with my actual game. My Charakter must watch out not to be seen by Guards. The Guards change their direction.
I have three kinds of events: The guards, with 2 Pages one looking up, one looking done. Some Events in front of the guards, wich are player touch on one page, and empty on the other. The third event is a parallel process wich changes one switch every 100 frames. When the switch is activated the guard looks up, and the events in front of the guard are on the player touch page. The only problem is, when the player walks behind the guard, doesn't move and the guard turns around, nothing happens, because the player doesn't touch the event, because he is already on it.
How could i fix this?
If my english is a little bit bad, I'm sorry for this, but english is not my native language.