Author Topic: Is there a flag for this?  (Read 1728 times)

0 Members and 1 Guest are viewing this topic.

Offline Corby

Is there a flag for this?
« 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  ???



Offline Chris Cromer

Re:Is there a flag for this?
« Reply #1 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. :)
Chris Cromer

It's all fun and games until someone get's hurt then it's just fun. ;)

Offline Corby

Re:Is there a flag for this?
« Reply #2 on: May 12, 2003, 05:07:27 AM »
Cool, that sounds like a good idea. I was just looking for a lazier way :)

Offline Chris Cromer

Re:Is there a flag for this?
« Reply #3 on: May 12, 2003, 03:05:52 PM »
Hehe, I always look for the laziest way. ;D
Chris Cromer

It's all fun and games until someone get's hurt then it's just fun. ;)


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.046 seconds with 21 queries.