Jump to content
fawlty

Trigger question

Recommended Posts

Trying to activate   "player synchronizeObjectsAdd [support];"    with a players steam id number.

So in other words change the word player with the number.

 

I would normally just sync it from the trigger to the player but in this scenario that won't work and I want it delayed so I can activate via zeus.

 

Is this possible?

Share this post


Link to post
Share on other sites

I do know in advance what the players ID numbers are. Want to add supports for different single players for future  dynamic recon missions.

Can't use sync or naming the player so would like to use their steam ID numbers, which I am aware of.

 

You can use the steam id numbers in the zeus module so was wondering if it could be used in this application.

Share this post


Link to post
Share on other sites
//	Something like this maybe?
_pID = getPlayerUID player;
if (_pID isEqualTo "1234567890") then { player synchronizeObjectsAdd [support_A]; };
if (_pID isEqualTo "0987654321") then { player synchronizeObjectsAdd [support_B]; };

 

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites
10 hours ago, Maff said:


{
_pID = getPlayerUID _x;
if (_pID in ["1234567890", "0987654321"]) then { _x synchronizeObjectsAdd [support_A]; };
if (_pID in ["5643654323"]) then { _x synchronizeObjectsAdd [support_B]; };
} foreach playableunits select {isplayer _x};

 

 

  • Like 2

Share this post


Link to post
Share on other sites

Good one Sabot, all players have their own support to look after. Some support with mutiple players.

Cheers

  • Like 1

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

×