I have a feeling this is impossible but heres a situation:
player x touches region y, switch a is reset. This should only happen once.
Problem?
place said function call in a parallel process so you don't have 100 player touch based events that shut off said switch or switches.
Player touches region that shuts off switch id in game, and its called about 20-40 times because its a parallel process.
Whats a clean way to get around this? Or do I have to have the game developer create player touch events to shut off said switch or switches instead of using regions to do it?
basic idea of script to give you context: player touches region x, stuff happens, switch id is turned on. Player touches region y, switch id that was turned on is turned off.
player x touches region y, switch a is reset. This should only happen once.
Problem?
place said function call in a parallel process so you don't have 100 player touch based events that shut off said switch or switches.
Player touches region that shuts off switch id in game, and its called about 20-40 times because its a parallel process.
Whats a clean way to get around this? Or do I have to have the game developer create player touch events to shut off said switch or switches instead of using regions to do it?
basic idea of script to give you context: player touches region x, stuff happens, switch id is turned on. Player touches region y, switch id that was turned on is turned off.