Home   Help Search Login Register  

Author Topic: While controlling the soldier  (Read 1092 times)

0 Members and 1 Guest are viewing this topic.

Offline Aldo15

  • OFP-addict
  • Former Staff
  • ****
    • My OFP missions
While controlling the soldier
« 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:
My OFP stuff
FMF Project by Aldo15. Coming soon.
If in the high school or university, Teachers add a new subject about how to make scripts, missions, for ofp. I'd be number one of my classroom

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: While controlling the soldier
« Reply #1 on: 21 Dec 2010, 15:05:10 »
You will have to use animations (switchMove/playMove) to control the player.
urp!

Offline Aldo15

  • OFP-addict
  • Former Staff
  • ****
    • My OFP missions
Re: While controlling the soldier
« Reply #2 on: 22 Dec 2010, 01:59:36 »
How do I use it?
My OFP stuff
FMF Project by Aldo15. Coming soon.
If in the high school or university, Teachers add a new subject about how to make scripts, missions, for ofp. I'd be number one of my classroom

Offline savedbygrace

  • Intel Depot
  • Administrator
  • *****
  • Be swift to hear...slow to speak...slow to wrath.
Re: While controlling the soldier
« Reply #3 on: 28 Dec 2010, 02:38:06 »
Animations are best used inside scripts or triggers.
Code: [Select]
unitname switchmove "animationName"Check this resource out or this one.
« Last Edit: 28 Dec 2010, 02:41:24 by savedbygrace »

Offline Aldo15

  • OFP-addict
  • Former Staff
  • ****
    • My OFP missions
Re: While controlling the soldier
« Reply #4 on: 28 Dec 2010, 13:59:34 »
Actually make those animations that I'm controlling the soldier to move to any position alone and without the need to handle it.
My OFP stuff
FMF Project by Aldo15. Coming soon.
If in the high school or university, Teachers add a new subject about how to make scripts, missions, for ofp. I'd be number one of my classroom