Home   Help Search Login Register  

Author Topic: Stand up  (Read 508 times)

0 Members and 1 Guest are viewing this topic.

Storm-Dk

  • Guest
Stand up
« on: 10 Feb 2003, 12:04:04 »
HI!

Who can i get a soldier to stand up when he shoots?
normaly he will hit the ground.
Can anyone help me?

Storm

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Stand up
« Reply #1 on: 10 Feb 2003, 12:11:25 »
NameOfDaGuy switchmove "up"

I think itÂ's somethin like that, but IÂ'm not sure...

Storm-Dk

  • Guest
Re:Stand up
« Reply #2 on: 10 Feb 2003, 12:34:07 »
nop it still don't work

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Stand up
« Reply #3 on: 10 Feb 2003, 12:39:21 »

unitname setunitpos "up"

will make the moron stand all the time

unitname setunitpos "down"

will make the moro hit the dirt and just crawl

unitname setunitpos "auto"

will let the AI decide which is better.

So use unitname setunitpos "up" and then when the scene in your mission is over put it back to "auto" if you want him to be able to hit the dirt again.  ;)
« Last Edit: 10 Feb 2003, 12:41:36 by Artak »
Not all is lost.

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Stand up
« Reply #4 on: 10 Feb 2003, 12:39:59 »
UnitName SetUnitPos "up"

There you go.

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Stand up
« Reply #5 on: 11 Feb 2003, 00:31:03 »
 :o Er din editor i "advanced" mode?  :D

Hvis ikke, så klik på det gule EASY (øverst til højre i editoren).


Når du så sætter din mand på kortet, så bare skriv:

 This setUnitPos "UP"

...i hans "INITIALISATION" -felt (det lange felt i vinduet nÃ¥r du laver manden).  ;)


 :D Du kan ogsÃ¥ skrive koden i et waypoint (WP), hvis han først skal stÃ¥ oprejst nÃ¥r han er nÃ¥et til et bestemt sted. Det er bedst at give ham et navn, sÃ¥ skriv KNUD i hans "name" felt, og brug sÃ¥ koden:

KNUD setUnitPos "UP"

Og hvis han skal kunne lægge sig ned igen, så lav en trigger med koden:

KNUD SetUnitPos "AUTO"

...det vil gøre ham 'normal' igen.  ;D

================================

OFPEC - muticultural, multisupernatural  8) ;D


Dark Knight

  • Guest
Re:Stand up
« Reply #6 on: 12 Feb 2003, 20:27:30 »
as we are on this subject... how do u make a unit go in crouch mode and stay there?