Community
AGI Programming => Mega Tokyo AGI Archive => Topic started by: Corby on May 12, 2003, 04:33:27 AM
-
Would there happen to be a flag that is triggered when the ego touches a certain object? It my case, I want the ego to be burnt when she touches the object that is fire.
Thanks ???
-
Well there is the water flag... it is called f0 and it becomes set when the ego touches a priority of 3 and unsets when the stop touching the priority of of 3.
All you do is this:
if (isset(f0)) {
// put burnt/death/whatever code here
}
Then paint the priority around the fire to be priority 3. Simple as that. :)
-
Cool, that sounds like a good idea. I was just looking for a lazier way :)
-
Hehe, I always look for the laziest way. ;D