Jump to content
Sign in to follow this  
Coolinator

*Noob Question* about using a trigger

Recommended Posts

I don't know what to put in condition, in trigger.

For example, I made a trigger, and there's a truck named "nuclear";

When the truck named "nuclear" step into the trigger, the mission will end.

What do i put for condition? so the trigger know and identify that "nuclear" is in the trigger?

sorry for noob question lol :)

Share this post


Link to post
Share on other sites

Or just keep "this" in the condition and group the trigger to the vehicle.

Share this post


Link to post
Share on other sites
(nuclear in thisList)

THank you!!! :) do i include the paranthesis?

By the way i have another question, i dont want to make another thread lol >_< so i just ask it here.

Is there a way that the trigger will activate when the truck "nuclear" touch on land instead of just stepping inside the trigger (airborne)?. Ch-49 mohawk is carrying the truck "nuclear", and we want to drop it our base.

Share this post


Link to post
Share on other sites
THank you!!! :) do i include the paranthesis?

By the way i have another question, i dont want to make another thread lol >_< so i just ask it here.

Is there a way that the trigger will activate when the truck "nuclear" touch on land instead of just stepping inside the trigger (airborne)?. Ch-49 mohawk is carrying the truck "nuclear", and we want to drop it our base.

I always include parenthesis

(nuclear in thisList) && {isTouchingGround nuclear}

Share this post


Link to post
Share on other sites
THank you!!! :) do i include the paranthesis?

By the way i have another question, i dont want to make another thread lol >_< so i just ask it here.

Is there a way that the trigger will activate when the truck "nuclear" touch on land instead of just stepping inside the trigger (airborne)?. Ch-49 mohawk is carrying the truck "nuclear", and we want to drop it our base.

Yea you can use the parentheses if you want to, not necessarily required for single condition. For your is touching ground:

((nuclear in thisList) && {isTouchingGround nuclear})

EDIT: Ninja'd

Share this post


Link to post
Share on other sites
Yea you can use the parentheses if you want to, not necessarily required for single condition. For your is touching ground:

((nuclear in thisList) && {isTouchingGround nuclear})

EDIT: Ninja'd

THank you so much!!!!!! i really appreciate it :)

---------- Post added at 01:25 ---------- Previous post was at 01:24 ----------

---------- Post added at 01:26 ---------- Previous post was at 01:25 ----------

I always include parenthesis

(nuclear in thisList) && {isTouchingGround nuclear}

THank you so much :)

Share this post


Link to post
Share on other sites

isTouchingGround is unreliable and may never return true so I recommend.

(nuclear in thisList) && {(getPosatl nuclear select 2) < 2 || isTouchingGround nuclear}

Edited by Jigsor

Share this post


Link to post
Share on other sites
isTouchingGround is unreliable and may never return true so I recommend.

(nuclear in thisList) && {(getPosatl nuclear select 2) < 2 || isTouchingGround nuclear}

Ahh thank you so much!!! i really appreciate 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  

×