Jump to content
Sign in to follow this  
cj

Hiring Soldiers

Recommended Posts

I was wondering how can I use the radio to Hire Soldiers into my squad?

Ie.

Setting a trigger to Radio Alpha that adds an AI member to my squad that spawns at base.

I made an attempt at doing it but really screwed up! whistle.gif

Cheers!

Share this post


Link to post
Share on other sites

Put this in the activation line:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">"SoldierWB" createUnit [getMarkerPos "Respawn_West", group player]

Share this post


Link to post
Share on other sites

Thank you! That was EXACTLY what I was looking for biggrin_o.gif

Share this post


Link to post
Share on other sites

Crap, just discovered a problem on multiplayer, when somebody else hires a soldier it also gives me one, aswell as giving him one, so I get bundled with hundreds of soldiers I don't want!

How can I fix this?

Share this post


Link to post
Share on other sites

That should not happen if the code is in a radio trigger, because AFAIK the trigger should only fire on the machine of the player who activated it.

Share this post


Link to post
Share on other sites

Well it is set to Radio Juliet and I wrote exactly what he told me to write in the init so i'm sure it's not me confused_o.gif

Share this post


Link to post
Share on other sites

I'm pretty sure when one player activates a radio trigger, it activates on all clients.

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  

×