Home   Help Search Login Register  

Author Topic: addAction question  (Read 476 times)

0 Members and 1 Guest are viewing this topic.

Oblivion

  • Guest
addAction question
« on: 16 Jul 2004, 04:40:37 »
Alright here is my question...

Right now I have an object with a Trigger on it.

When West becomes present, an addaction comman becomes available to turn the lights off.

But how do I make it so when I leave the trigger radius the addaction dissapears?

I know the player removeaction newaction1; part,

But how do I let the Trigger know the unit is not present?

CrashnBurn

  • Guest
Re:addAction question
« Reply #1 on: 16 Jul 2004, 05:58:41 »
Make the trigger repeating and in the-
activation box put:
newaction1 = player addaction ["newaction","newaction.sqs"]
deactivation box put:
player removeaction newaction1

This trigger should be grouped to the player.
« Last Edit: 16 Jul 2004, 05:59:36 by CrashnBurn »

Oblivion

  • Guest
Re:addAction question
« Reply #2 on: 16 Jul 2004, 06:12:31 »
Thx a bunch!  :)