kittycat 0 Posted December 21, 2003 How can fire a trigger when the player is looking at a specific thing and within 50m. I want the player to spot things (hit report thingy) and be very close to it. How? Share this post Link to post Share on other sites
iNeo 0 Posted December 21, 2003 Place the trigger, group it to the target, choose "Detected by West" in the trigger if the player is west. In the Condition field in the trigger, put: Quote[/b] ]this AND player distance target1 < 50 Change target1 to the name of the target the trigger is grouped to. Put whatever you want to in the On Activation field. That should work I hope Share this post Link to post Share on other sites
kittycat 0 Posted December 21, 2003 that does not work. it activates as soon I get into range. I want to activate if the player targets the thing and hits right mouse Share this post Link to post Share on other sites
RED 0 Posted December 21, 2003 You will want something like this in the onactivation field: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">(player knowsabout target1) > 2 && (player distance target1) < 50 It would be better to use a script to do this though. RED Share this post Link to post Share on other sites
iNeo 0 Posted December 21, 2003 You will want something like this in the onactivation field: Condition field Share this post Link to post Share on other sites
kittycat 0 Posted December 24, 2003 still do not work.. It activates as soon as I get into range Share this post Link to post Share on other sites
Balschoiw 0 Posted December 27, 2003 if it still fires why don´t you just leave out the distance thing ? Share this post Link to post Share on other sites