Jump to content
Sign in to follow this  
rekkless

Help with Basic Init animation functions

Recommended Posts

So I've spent a significant amount of time making a mission and all is well when I play the mission in the editor.

 

As soon as I export the mission to the PBO to load onto our server none of the init commands work for the ambient AI and vehicles.

 

I am only running some real basic stuff like:

This for civilian vehicles at a road block

this setBehaviour "SAFE"; player action ["lightOn", this];

 

 

and a variety of Civilian and Opfor animations similar to
 

[this,"LEAN_ON_TABLE","ASIS",T2] call BIS_fnc_ambientAnim;
[this,"STAND_U3"] call BIS_fnc_ambientAnim;
[this,"LEAN"] call BIS_fnc_ambientAnimCombat;

 

 

So you get the idea.

The animations and headlights work fine in the editor but as soon as I load the mission on the server none of the commands work.

 

A possible solution I'm thinking of is if I make all the animations sleep for 5 -10 seconds upon mission start to make sure they get execuded correctly.

 

Can anyone please tell me exactly what the correct command would be to get these init commands to sleep?

 

Or is there something else I should be looking at?

Share this post


Link to post
Share on other sites

Hey mate.

Use remotexec instead of call for MP locality issue avoidance.

 

So for example:

[this, "SIT_HIGH2"] remoteexec ["BIS_fnc_ambientanim"];

 

Or just use 3den Enhanced mod by R3vo which lets you do all this stuff via in-editor UI and is MP compatible. As a mod its only for mission making and does not become a dependency or require mission particpants to have the mod.

 

As a mission designer it is hands down an absolutely essential mod to use as it makes your life a lot easier; mad prips to R3vo for making and continuing to support it.

 

And as always mate if you get stuck hit me up on Steam.

  • Like 1

Share this post


Link to post
Share on other sites
7 hours ago, Imperator[TFD] said:

Hey mate.

Use remotexec instead of call for MP locality issue avoidance.

 

So for example:

[this, "SIT_HIGH2"] remoteexec ["BIS_fnc_ambientanim"];

 

Or just use 3den Enhanced mod by R3vo which lets you do all this stuff via in-editor UI and is MP compatible. As a mod its only for mission making and does not become a dependency or require mission particpants to have the mod.

 

As a mission designer it is hands down an absolutely essential mod to use as it makes your life a lot easier; mad prips to R3vo for making and continuing to support it.

 

And as always mate if you get stuck hit me up on Steam.

 

 

Thanks bud, I'll put that in and check the mod out. sounds impressive.

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  

×