OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: danturn on 15 Aug 2008, 01:41:55

Title: addaction [] activates trigger
Post by: danturn 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
Title: Re: addaction [] activates trigger
Post by: Spooner on 15 Aug 2008, 02:03:08
Code: (actionHandler.sqs) [Select]
gameEnded = true

Trigger name isn't important.
trigger condition: gameEnded

Title: Re: addaction [] activates trigger
Post by: danturn on 22 Aug 2008, 18:13:03
Cheers, got this working, thanks :o)