Page MenuHomeFeedback Tracker

playmove not working anymore
Closed, ResolvedPublic

Description

Hi, i have some script created that have been working for moths and after the oldman release stop working, the switchmove is still working but the playmove command is not working anymore.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Steps To Reproduce

place a unit (man) in editor and name it TT and in the debug console execute
tt playmove "Acts_JetsShooterNavigate_in" and nothing happens, not error, nothing

Event Timeline

Arian created this task.Apr 16 2020, 12:05 AM
Wulf added a subscriber: Wulf.EditedApr 17 2020, 3:37 PM

Hello.

Thank you for the report. However from the repro you posted it could not have worked even before. You would have to use switchmove "Acts_JetsShooterIdle"; before playmove "Acts_JetsShooterNavigate_in"; for the animation to start as that animation has no defined transition from idle.

So for you it would have to look like this:

TT switchmove "Acts_JetsShooterIdle";
TT playmove "Acts_JetsShooterNavigate_in";

and like this it works.

Wulf closed this task as Resolved.Apr 17 2020, 3:40 PM
Wulf claimed this task.

Unless there is something else that you forgot to mention, I will close it for now.

Arian added a comment.Apr 17 2020, 6:17 PM

Hello, you are absolutely right, i didnt know that, but actually my original script use switchmove previous to playmove, I have made some other test and i realize that the switchmove/playmove combination works for Eden Editor placed units but not for script crated units, in this last case only the switchmove is executed. Bellow is a part of my script, none of the playmove works on script created units. I use the createvehicle command for create the unit.

DeckCrew1_C4 = "B_Deck_Crew_F" createVehicle position player;
DeckCrew2_C4 = "B_Deck_Crew_F" createVehicle position player;

DeckCrew1_C4 switchMove "Acts_JetsShooterNavigate_in";
DeckCrew1_C4 playmove "Acts_JetsShooterNavigate_loop";
rec = [] spawn C4_USS_FREEDOM_PLANE_PATH;

sleep 12;

DeckCrew1_C4 switchmove "Acts_JetsShooterNavigate_stop";
DeckCrew1_C4 playmove "Acts_JetsShooterNavigate_out";

sleep 8;

DeckCrew1_C4 switchmove "Acts_JetsShooterIdleMoveaway_in_m";
DeckCrew1_C4 playmove "Acts_JetsShooterIdleMoveaway_loop_m";
DeckCrew1_C4 playmove "Acts_JetsShooterIdleMoveaway_out_m";
DeckCrew2_C4 switchmove "Acts_JetsMarshallingSlow_in";
DeckCrew2_C4 playmove "Acts_JetsMarshallingSlow_loop";
DeckCrew2_C4 playmove "Acts_JetsMarshallingSlow_out";

Thank you very much for your help and support