Home   Help Search Login Register  

Author Topic: addaction [] activates trigger  (Read 1752 times)

0 Members and 1 Guest are viewing this topic.

Offline danturn

  • Members
  • *
addaction [] activates trigger
« on: 15 Aug 2008, 01:41:55 »
I have the addaction set up, and the trigger with the name "endgame", im stuck with what i need to put in the .sqs file for the addaction to make that activate the trigger, and how to set the trigger itself up.

i had tried
Code: [Select]
this exec endgame but it didnt work and looking at it, it is a dumb attempt haah.

any ideas please?

thanks

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: addaction [] activates trigger
« Reply #1 on: 15 Aug 2008, 02:03:08 »
Code: (actionHandler.sqs) [Select]
gameEnded = true

Trigger name isn't important.
trigger condition: gameEnded

[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)

Offline danturn

  • Members
  • *
Re: addaction [] activates trigger
« Reply #2 on: 22 Aug 2008, 18:13:03 »
Cheers, got this working, thanks :o)