Home   Help Search Login Register  

Author Topic: How do you make people do press ups??  (Read 437 times)

0 Members and 1 Guest are viewing this topic.

joshquick

  • Guest
How do you make people do press ups??
« on: 03 Mar 2004, 18:48:50 »
ok, im tryin to make a map where there is people doin press ups. Ive tried putting this switchmove "FXstandtodip" in the init field and ive tried setting waypoints (move/hold) saying loon1 switchmove "FXStandtodip" but when they do work, the man only does 2 press ups and runs off and does 2 more somewhere else!  >:(  is there a simple way to get them to constantly do press ups??????? also ive been trying to get people sitting (Effectstandsitdown) but they keep on standing up.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:How do you make people do press ups??
« Reply #1 on: 03 Mar 2004, 19:02:29 »
Switchmoves often don't work in init fields.

To make him keep doing it you need some kind of loop.... BIS did it in one of their missions I think, near the start of the original campaign ... unpbo it and see how they did it.  Or search the forums, this comes up all the time.
Plenty of reviewed ArmA missions for you to play

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:How do you make people do press ups??
« Reply #2 on: 03 Mar 2004, 19:14:53 »
Give the man a name, and a WP, in the WP use the Name PlayMove  etc etc etc. and move the WP so close to his feet that its automatically triggered at the start of the mission.

joshquick

  • Guest
Re:How do you make people do press ups??
« Reply #3 on: 03 Mar 2004, 19:16:15 »
ok, i found this in a topic you made

#loop1
~0.94    (you must always have a delay in a loop)
switchmove or whatever code you like
? condition: exit
goto "loop1"


since im new to ofp i dont no much, would i change the line "switchmove or whatever code you like" to "switchmove Fxstandtodip"???
then type in the activation field "exec loop.sqs"????
p.s i am reading the tutorials and searching forums, most stuff is too advanced at moment though