OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: gadolinite on 30 Jun 2003, 22:17:01

Title: playmove command
Post by: gadolinite on 30 Jun 2003, 22:17:01
 ??? :oHow come the soldier I script to use the playmove command does not play the move?

 :beat:It may be that I do not know the actual purpose of this command and its situation where appropiate.

I just use the switchmove command for cutscene purposes.

thanks for the  :help:
Title: Re:playmove command
Post by: Dandy on 30 Jun 2003, 22:38:00
Hi

Some of the switchMove and playMove commands need the unit to be in safe or combat mode :D sow use the line: unitname setBehaviour "combat"; before the switchMove/playMove command.

did that help you out?  ::)
Title: Re:playmove command
Post by: Burn on 01 Jul 2003, 00:21:07
Did u use the command in INIT-FIELD, SCRIPT or TRIGGER and what kind of playmove\switchmove command did u use? (what's it called)... If u typed it in the init-field, use a script or a trigger instead. Most switchmoves are allmost impossible to execute in the init-field ::)...
Title: Re:playmove command
Post by: gadolinite on 01 Jul 2003, 00:22:30
I used a script.  It's "EffectCombatStand"
Title: Re:playmove command
Post by: Dandy on 01 Jul 2003, 17:20:47
This command will keep the soldier to stand in combat untill he dies or gets shot in the leg:

unitname setBehaviour "Combat";unitname setUnitPos "up";unitname switchMove "EffectCombatStand";

@Bizon "Babe" lol ;D
Title: Re:playmove command
Post by: Burn on 02 Jul 2003, 15:27:56
@ :gunman:Dandy
LOL ... :hmm:You've watched too frikkin much of that Band Of Brothers. You need :help: and fast...
@gadolinite
Try using switchMove instead of playMove ;)... you used playmove, didn't you?
 :joystick:
Title: Re:playmove command
Post by: Dandy on 02 Jul 2003, 15:47:52
@Bizon
You think sow :-\ I realy got to call Jossi and see if he has got any new movies for me. ;D

@gadolinite
hmm... what exactly do you want the soldier to do?  :-\ and is the script being activated ???
Title: Re:playmove command
Post by: gadolinite on 05 Jul 2003, 02:06:59
I want the soldier to stand up when he is sitting, and then put his hands on top of his head.  I want him to play the move, not shoot up, (a symptom of the swithcmove command) so therefore a smooth transition from sitting to standing, and then the hands.  

 :PMore human like

Thanks
Title: Re:playmove command
Post by: gadolinite on 07 Jul 2003, 18:26:52
The official missions seemed to be able to do this ok
Title: Re:playmove command
Post by: Burn on 07 Jul 2003, 18:59:38
try this if u want to have the loon sitting on a chair and stand up:
loon switchMove "FXSitHandsOnTable"
~5
loon switchMove "FXFromTable"
~4
loon switchMove "FXStandSurUniv"

try this if u want to have the loon sitting on the ground and stand up:

loon switchMove "EffectStandSitDown"
~5
loon switchMove "Fxstand"
~4
loon switchMove "FXStandSurUniv"

was that what u where after m8?! ;)
Title: Re:playmove command
Post by: gadolinite on 07 Jul 2003, 19:08:34
what I was after was putting the hands on top of the head
Title: Re:playmove command
Post by: Dandy on 08 Jul 2003, 01:17:45
loon switchMove "FXStandSurUniv" = loon switchMove "FXWomanSur"