Home   Help Search Login Register  

Author Topic: mission  (Read 1111 times)

0 Members and 2 Guests are viewing this topic.

Top-Gun

  • Guest
mission
« on: 23 Nov 2003, 19:37:33 »
i want to make a mission were ur a civ, trying to escape iraq,

but i want there to be like car check point that the west serch u from, and if u have a weapon or do not stop they destroy u also if u shoot a west they hunt u down,

then i ur town randomly attack every say 10 mins, then when u see the bombing u have to fight back

i think thats clear :)
 any ideas

gundernak

  • Guest
Re:mission
« Reply #1 on: 02 Dec 2003, 14:36:31 »
Ok, in general...

First you have to align your civilian to east side...(dragging line from civ to an east unit, after deleteVehicle this to the east unit's init field).
Now you are enemy for west...therefore they basically will shoot you...

To prevent this you have to use setCaptive command for your civil...enemy will not shoot you now...(into your civ's init field: this setCaptive true)

After this you have to create conditions in a trigger or in a script when setCaptive statement became false(this setCaptive false)...and they will attack you...

3 conditions you wrote...I guess these can be checked by eventHandlers...I can not help you in this unfortunatelly yet...