Home   Help Search Login Register  

Author Topic: alive question  (Read 683 times)

0 Members and 3 Guests are viewing this topic.

M_S_Holder

  • Guest
alive question
« on: 01 Dec 2002, 21:35:05 »
I want a unit to appear only if a certain other is not present.

For example, I have a T-55 with a 50% probability of presence.  I have another T-72 with a 100% probability of presense; however, I want the T-72 to exist ONLY is the T-55 is NOT present.

The end result will be either a T-55 or a T-72, but not both.

Does anyone know how to do this?  I understand that the term "Alive" applies here, but I'm not sure how to use it in this case.

Darkninja

  • Guest
Re:alive question
« Reply #1 on: 01 Dec 2002, 22:07:10 »
Ok my "cheat" reply, this is very simple and is not good but it works. I haven't ofp:ed for months.

Ok, name the t-75 to t75.
Make a trigger:

Make the trigger so "big" as possible and group it with the t-55. And check not present.

Then
Cond: this;
On activ: t75 Setdammage 4. (?) [ you could also move the tank to the sea also, (teleport) instead of blowing ].

- Alive should maybe work but this works 100%.

- The problem here is that u dont get the tank away for real.

The perfect soulution should be done with camcreate but it will be more complicated.