Jump to content
Barba-negra

trigger activated with gamelogic

Recommended Posts

Hello, good morning, greetings to all and a hug, I wanted to ask you how I can shoot a trigger by means of a logic of game, I have the trigger with all the information and I have placed it in the activator LOGIG, but I do not know how to place in the trigger condition, and what should I put into the logic of the game?

 

in the trigger:

 

trg = createTrigger ["EmptyDetector", getPos player]; 
trg setTriggerArea [50, 50, 10, false]; 
trg setTriggerActivation ["LOGIC", "PRESENT", true]; 
trg setTriggerStatements ["this", "hint 'hello'", "hint ''"];   

 

in the logic of game:

 

???                                                                                                        

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

×