Page MenuHomeFeedback Tracker

animate command not JIP when used on "super simple object" created by createSimpleObject command
New, NormalPublic

Description

Hello,

When spawned my "super simple" Object, on my HC, and connect to my server. So i'm JIP.
I don't see the animation worked. It's a "hide" animation.
Already tried to execute animate command on server but it's the same things.

It's working fine with createvehicle.

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Anims
Steps To Reproduce

1 - Spawn a "super simple" object at HC side, with createSimpleObject.
2 - Animate the object with "animate" command.
3 - Connect with your player on the server, and see that the "hide" animation not worked.

Event Timeline

NiiRoZz created this task.Mar 6 2018, 7:20 PM
NiiRoZz updated the task description. (Show Details)Mar 6 2018, 7:22 PM
NiiRoZz edited Steps To Reproduce. (Show Details)
NiiRoZz updated the task description. (Show Details)Mar 6 2018, 7:41 PM
Wulf added a subscriber: Wulf.Mar 7 2018, 10:31 AM

Hello.

Could you please send us the mission with which you were testing this?

Thank you.

NiiRoZz renamed this task from animate command not JIP when created with createSimpleObject to animate command not JIP when used on "super simple object" created by createSimpleObject command.Mar 7 2018, 11:12 AM
NiiRoZz added a comment.EditedMar 7 2018, 11:31 AM

I'm not being able to send you a mission before the end of the week because i don't have my PC.

I'm able to send you all script but not the mission, mission need only one guy playable and an HC slot. That's pretty easy to setup.

In root mission folder create a file with the name : initPlayerLocal.sqf and inside put this :

if (!hasInterface && !isServer) exitWith {
    _object = createSimpleObject ["a3\soft_f\offroad_01\offroad_01_unarmed_f.p3d",[1200,1200,3]];
    _object animate ["BeaconsStart", 1, true];
    _object animate ["BeaconsStart", 0, true];
};

[] spawn {
    waitUntil {time > 0};
    player setPosWorld [1200,1200,0];
};

You will be able to see the police bar, but i have hide it with

_object animate ["BeaconsStart", 0, true];

Don't forget to put -autoInit parameter on server, to being able to join the server after the launch of mission. To be in JIP state.

After in game you can check that offroad have this bar but you have hided it before.

if after in game and use debug you can execute this :

_object = createSimpleObject ["a3\soft_f\offroad_01\offroad_01_unarmed_f.p3d",((getPosWorld player) vectorAdd [0,0,3])];
    _object animate ["BeaconsStart", 1, true];
    _object animate ["BeaconsStart", 0, true];

And you will see, that this new offroad spawned don't have police bar instead of the first one