Home   Help Search Login Register  

Author Topic: Prisioners  (Read 559 times)

0 Members and 1 Guest are viewing this topic.

CHEEKYBOY105

  • Guest
Prisioners
« on: 31 Jan 2004, 19:34:57 »
I have a prision and it has west men in it but i cant stop the east from shooting them how do u stop soldiers shooting the west so it is like a real prision.

CHEEKYBOY105

  • Guest
Re:Prisioners
« Reply #1 on: 31 Jan 2004, 19:35:22 »
I have a prision and it has west men in it but i cant stop the east from shooting them how do u stop soldiers shooting the west so it is like a real prision.

Dubieman

  • Guest
Re:Prisioners
« Reply #2 on: 31 Jan 2004, 19:48:32 »
Easy.... ;D

in the west guys init fields type this

this setcaptive true

Then the east ppl will not shoot any of your prisoners...

However I'm not sure about if you make an escape senario how to make east shoot west when west is outside prison.

Probaly has to do with a trigger that states

west units setcaptive true????

then another with a bigger trigger that states

west units setcaptive false?????

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Prisioners
« Reply #3 on: 02 Feb 2004, 00:04:03 »
well, if ya name the prisoners in their NAME fields when created
then its easy to add "This setCaptive True" to their INIT fields and
setup a trigger (covering the cell - make it rectangular if needed).

And then in the triggers condition field put:


              !(bob in thisList) || !(Rob in thisList) etc. ...

...with the following in the activation field:

               bob setCaptive false; Rob setCaptive false (etc.)

so that if any prisoner is trying to escape, they're all
considered dangerous again & will be shot.
(p.s. Bob & Rob being the unitNames of them prissy's right!)

PPS:
off course ya can also setup individual conditions foreach prisoner  :-*