OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started 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:
-
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? ::)
-
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 ::)...
-
I used a script. It's "EffectCombatStand"
-
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
-
@ :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:
-
@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 ???
-
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
-
The official missions seemed to be able to do this ok
-
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?! ;)
-
what I was after was putting the hands on top of the head
-
loon switchMove "FXStandSurUniv" = loon switchMove "FXWomanSur"