OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Aldo15 on 21 Dec 2010, 03:52:01
-
I have a question: ???
For example, I have a soldier "x" and a soldier "z". The soldier "z" is the player, and I want that when you select the scene mode is placed in comabate "safe", and walk some distance. In intro would be easy and that the soldier "z"is the AI, but in a scene mission how do I do that? :dunno:
-
You will have to use animations (switchMove/playMove) to control the player.
-
How do I use it?
-
Animations are best used inside scripts or triggers.
unitname switchmove "animationName"Check this (http://www.ofpec.com/ed_depot/index.php?action=details&id=56&game=OFP) resource out or this (http://www.ofpec.com/ed_depot/index.php?action=details&id=205&game=OFP) one.
-
Actually make those animations that I'm controlling the soldier to move to any position alone and without the need to handle it.