Jump to content
Sign in to follow this  
Deadus

Who triggered radio alpha

Recommended Posts

hello

Having a bit of a problem scripting how to pass the triggerer of a Radio trigger to a script.

I know with normal, proximity based triggers you can use list to find out who is inside the range of the trigger, but is this possible with Radio Triggers?

I'll explain what i want to happen:

I'll have a vehicle somewhere on the map. When a player uses Radio Alpha, i would like the Vehicle to move towards that player. I do not want to hardcode the player that the vehicle is to head towards, as this will be a MP mission where anyone will be able to use the radio to call this vehicle.

The last thing i tried (before getting a headache and giving up) was to make a Radio Alpha trigger for EACH possible unit that could call the vehicle, and then via a looping script make each trigger follow a particular unit around - hoping that when Radio Alpha was called, the "thislist" function would pick up the player in the triggers proximity. However this did not work.

Any ideas or workarounds?

Share this post


Link to post
Share on other sites

Unfortunately, radio-triggers do not return an object sad_o.gif

Quote[/b] ]Any ideas or workarounds?

Yes,

use a custom-action in the right bottom menu

~S~ CD

Share this post


Link to post
Share on other sites

Thanks

I have dabbled with custom actions in the past - however it seemed that any custom action i added kind of got "attached" to an object, meaning anyone nearing that object could use it.

I'll do a search for this and see what i can dig up - maybe i just need to make them local?

Share this post


Link to post
Share on other sites

Yeah, BN - just noticed the thread you're linking into

(i think i've even seen it once a while ago, but forgot

about it), as i was thinking about the thread we're in

here biggrin_o.gif

Wasn't america also discovered by an accident when

trying to find an alternate route to india? tounge_o.gif

~S~ CD

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  

×