Forum Jump :

Author Message

ogion  



Posts: 115
Rank:


Level: Member

Country: se
Location:
Occupation: Small business owner
Age: 44
In-game name: Ogion [SW]

 
#78148 Posted at 2010-03-22 05:16        
     
Well, this is how I solved it:

Maybe not as eloquent as many of you script gurus would have done it, but this works.

bossinit.sqs
#start
_this select 0
@ (alive player)

player addAction ["Set Rally Point","rp.sqs",false, -1, false, true, "false"];

@ (! alive player)
removeAction select 0;
goto "start"

And so the rp.sqs
player playMove "AinvPknlMstpSnonWnonDnon_medic_2";
"respawn_west" setMarkerPos position player;
flagpoint setPos getMarkerPos "respawn_west";
player sideChat "New Rallypoint established!"


So here it is and free to use for anyone who wants it.

Known issue:
ALL players get access to ALL extra actions used.



Edit: flagpoint is the name of my flagpole.

This post was edited by ogion (2010-03-22 06:27, ago)

"Do, or do not. There is no try!" - Yoda
http://www.silentwarriors.org.uk/