Community

AGI Programming => Mega Tokyo AGI Archive => Topic started by: Corby on May 12, 2003, 04:33:27 AM

Title: Is there a flag for this?
Post 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  ???
Title: Re:Is there a flag for this?
Post by: Chris Cromer on May 12, 2003, 05:00:16 AM
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:

Code: [Select]
if (isset(f0)) {
  // put burnt/death/whatever code here
}

Then paint the priority around the fire to be priority 3. Simple as that. :)
Title: Re:Is there a flag for this?
Post by: Corby on May 12, 2003, 05:07:27 AM
Cool, that sounds like a good idea. I was just looking for a lazier way :)
Title: Re:Is there a flag for this?
Post by: Chris Cromer on May 12, 2003, 03:05:52 PM
Hehe, I always look for the laziest way. ;D