aseliot 2 Posted May 5, 2017 I thought I did this somewhere before but nothing i've tried so far has worked. I wanted to make a trigger that detects objects in it, just anything and then checks it for something. But I can't get the basic thing to work... trigger = createTrigger ["EmptyDetector", (getPos player)]; trigger setTriggerArea [300, 300, 0, false]; trigger setTriggerActivation ["ANY", "PRESENT", true]; trigger setTriggerStatements ["true", "systemChat format['%1',this];", ""]; trigger attachTo [player]; I've tried STATIC, ANY, LOGIC. But it doesn't do anything. Share this post Link to post Share on other sites
Grumpy Old Man 3546 Posted May 5, 2017 Try thisList instead of this in systemchat format. Cheers Share this post Link to post Share on other sites
aseliot 2 Posted May 5, 2017 At least that does something, but it only prints the player. Share this post Link to post Share on other sites
Grumpy Old Man 3546 Posted May 5, 2017 Might have something to do with the triggerActivation setting. Cheers Share this post Link to post Share on other sites
aseliot 2 Posted May 5, 2017 I've gone from using a trigger to just using nearestObjects in a loop. 1 Share this post Link to post Share on other sites