Home   Help Search Login Register  

Author Topic: stay still  (Read 583 times)

0 Members and 1 Guest are viewing this topic.

headshot_snipe

  • Guest
stay still
« on: 24 May 2003, 14:55:04 »
How do you make a unit stay in a position:

i was trying to make a guy do the crouchtobinoccrouch move, the guy is in unitpos"UP" and behaviour"combat". he does it but finishes it. I want him to stay in that position. any ideas?  ???

tnx

EDIT: I also have a query about camera sciptting, this is my script:
Code: [Select]
_camera cameraEffect ["internal","back"]
;game1 is a game logic, does it have anything to do with the problem?
_camera camset getpos game1

_camera camSetTarget cargo

titleCut ["Somewhere on Nogojev","BLACK IN",6]

_camera camCommit 0

~5

titleCut ["2200 hours","PLAIN",4]

_camera camcommit 0

exit

with this i just get a view right in the sea, anyideas whats wrong?
« Last Edit: 24 May 2003, 16:14:36 by headshot_snipe »

Knut Erik

  • Guest
Re:stay still
« Reply #1 on: 24 May 2003, 16:17:50 »
Um.. Try the "Stop" command.
This stop true

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:stay still
« Reply #2 on: 24 May 2003, 17:35:22 »
You have used "camset", which is not a command.

You also don't have a line like this:-

_camera = "camera" camcreate [0,0,0]

so your camera is not being created properly, which will be confusing the game.

Copy the start of a camera script from an existing mission or one of the tutes.
Plenty of reviewed ArmA missions for you to play

headshot_snipe

  • Guest
Re:stay still
« Reply #3 on: 24 May 2003, 17:58:20 »
tnx for the cam reply macguba, anyideas how to stop an animation like i stated above?

tnx anyways

Kaliyuga

  • Guest
Re:stay still
« Reply #4 on: 24 May 2003, 20:32:21 »
have a look at this:

http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=9761

should solve your animation troubles ;)