Home   Help Search Login Register  

Author Topic: Trigger NOT used  (Read 1051 times)

0 Members and 1 Guest are viewing this topic.

Offline Hellbender

  • Members
  • *
Trigger NOT used
« on: 29 Nov 2007, 00:17:01 »
Hi!

I need a trigger with an activation field "4" objStatus "DONE" once the condition is met. The condition is supposed to be NOT using the trigger!

The idea is that the player can call in support if he needs it, but that he will be punished by doing so. Naturally, calling other units to help will remove them from their mission. So, objective 4 will be "Failed" if he calls the support (already made this as another trigger) and it will be "DONE" if Radio Alpha is NOT called.

How do I do this syntax-wise in the condition field of the trigger?


Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: Trigger NOT used
« Reply #1 on: 29 Nov 2007, 00:27:43 »
u need 2 varibles and set em 2 false somewhere

like

LCDTrigUsed = false
LCDCheckNow = false

now in da condition of da triger ("4" objstatus "DONE") u put
LCDCheckNow and (not LCDTrigUsed)

now when u wanna put da done thing all u need 2 write is

LCDCheckNow = true;

and in da on activation of da radio trig u shud put

LCDTrigUsed = true

so it wont still put it as done if da trig was activated :D

hope its clear enough :D

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Hellbender

  • Members
  • *
Re: Trigger NOT used
« Reply #2 on: 02 Dec 2007, 23:39:32 »
Yes, I get it now!

It works just fine! Thanks LCD!