Jump to content
Sign in to follow this  
kittycat

Spotting things

Recommended Posts

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

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 smile_o.gif

Share this post


Link to post
Share on other sites

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

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
You will want something like this in the onactivation field:

Condition field wink_o.gif

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  

×