Jump to content
SnowmaneYT

synchronizeObjectsAdd in onPlayerRespawn.sqf

Recommended Posts

Hello,

 

I have a player AI with "BLUFOR_AI synchronizeObjectsAdd [this];" as ini code.

When die he needs the code again and i'm trying to do adding "BLUFOR_AI synchronizeObjectsAdd [player];" into onPlayerRespawn.sqf with no effect.

 

How i can get working?

Thanks!

Share this post


Link to post
Share on other sites

What is BLUFOR_AI? And what do you mean with player AI? "Player AI" is a contradiction in itself.

Share this post


Link to post
Share on other sites

BLUFOR_AI is just a variable name refering to moduleSpawnAI in order to get sector tactics working.

Player AI = AI controlled player if no human is controlling it.

 

I try to explain in other words.

 

A unit (player in this case) have a ini param of "variableName synchronizeObjectsAdd [this];". When this unit die, the parameter need to be inserted again because the AI stop doing sector tactics, and one way to do it is from onPlayerRespawn.sqf file. I tried with "variableName synchronizeObjectsAdd [player];" with no luck.

 

Any help, please?

Thanks.

Share this post


Link to post
Share on other sites

Soo is the unit a player when the unit dies?

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

×