Jump to content
Sign in to follow this  
Coolinator

Noob question, how to create variable for trigger?

Recommended Posts

How do i create variable for trigger? so i can make like a task?

for example,

i made a trigger

Activation: "Blufor" , "Present"

Condition: "this"

On activation: hint "you found the civilian";

(When the trigger is activated then a variable will be created for that trigger)? <<<<< (this what i need help on)

Then i have another second trigger made for completing the task. then i can just put the first trigger's variable in the second trigger condition for completing the task.

Im reallly sorry if it's really confusing :( i tried my best to explain >_<

Share this post


Link to post
Share on other sites

Second trigger condition field:

triggerActivated nameOfTriggerOne

Or just put the task completion code in the onAct of the first trigger.

Edited by JShock

Share this post


Link to post
Share on other sites
Second trigger condition field:

triggerActivated nameOfTriggerOne

ahhh THank you much again Jshock!!! :) if there's like a best scripting&editing forum helper of the week, i would vote for you every week :) Do you work for Bohemia?

Share this post


Link to post
Share on other sites
ahhh THank you much again Jshock!!! :) if there's like a best scripting&editing forum helper of the week, i would vote for you every week :)

Maybe just the most active, I wouldn't say the best, or much help sometimes (mainly due to my laziness in actually testing code before I put it out :p).

Do you work for Bohemia?

No...would I like to...not really...do I have the knowledge to be able to...definitely not.

Share this post


Link to post
Share on other sites
Maybe just the most active, I wouldn't say the best, or much help sometimes (mainly due to my laziness in actually testing code before I put it out :p).

No...would I like to...not really...do I have the knowledge to be able to...definitely not.

ahh kk, i don't think your lazy lol, you helped me so many times :) How did u learn scripting and become so good at it?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×