Home   Help Search Login Register  

Author Topic: Pushing up?  (Read 394 times)

0 Members and 1 Guest are viewing this topic.

Peter haroski

  • Guest
Pushing up?
« on: 23 Mar 2004, 14:49:25 »
Sry my english, in Nato campaingns first mission you can see unit pushing up? HOw can I do that?

0------
   !       \ :beat:

Offline TonyRanger

  • Members
  • *
  • I'm a llama!
Re:Pushing up?
« Reply #1 on: 23 Mar 2004, 14:55:38 »
what do you mean?

Peter haroski

  • Guest
Re:Pushing up?
« Reply #2 on: 23 Mar 2004, 16:59:19 »
Well, I dont know what this is in english, I mean that move that keeps you in good condition, you hit the dirt and you start to lift yourself up and down by arms, I cant say it better, in Finland we say punnertaa, is here is any finnich readers.... how can I make units do it

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Pushing up?
« Reply #3 on: 23 Mar 2004, 17:08:58 »
It's an animation. Use with switchmove or playmove commands.

unitname playmove "FXStandToDip"

complete animation list by macguba in the editors depot at http://www.ofpec.com/editors/resource_view.php?id=471
Not all is lost.

Offline TonyRanger

  • Members
  • *
  • I'm a llama!
Re:Pushing up?
« Reply #4 on: 24 Mar 2004, 04:09:52 »
my god,as a matter of fact Peter haroski means unitname playmove "FXStandToDip"
ok If you want play this move accurately you have to make a script like this

; dip.sqs,[unitname]exec "Dip.sqs"
_ap=_this select 0
#main
?alive _ap:goto "work"
exit
#work
_ap setbehaviour"safe"
_ap playmove "FXStandToDip"
~1
?not(alive _ap):goto "die1"
_ap playmove "FXStandfromDip"
?not(alive _ap):goto "die1"
~0.5
?not(alive _ap):goto "die2"
~0.5
?not(alive _ap):exit
_ap switchmove"standtocombat"
_ap setbehaviour"aware"
exit
#die1
_ap switchmove"civillyingdying"
exit
#die2
_ap switchmove"standdying"
exit