Home   Help Search Login Register  

Author Topic: okay  (Read 434 times)

0 Members and 1 Guest are viewing this topic.

BronzeEagle

  • Guest
okay
« on: 25 Dec 2004, 16:59:56 »
I got a civillian who's supposed to stay with the gun away, then pull it out and aim it in the persons face, civillian also, and then later put it away.  I do it but the civillian with the gun always lays down.  I tried the set unit pos up and man it didn't give me the effect i was looking for.  I guess I'll keep testing.   setunitpos up makes them point the gun the whole time.  
« Last Edit: 25 Dec 2004, 17:01:41 by BronzeEagle »

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:okay
« Reply #1 on: 25 Dec 2004, 17:07:12 »
Do you use the handgun actions?

unitname action ["handgun off"]

and

unitname action ["handgun on"]

EDIT:  Actually I don't think "handgun off" will work if the pistol is the only weapon.
You could try ....unitname action ["weaponinhand"] and ....unitname action ["weapononback"] instead



Planck
« Last Edit: 25 Dec 2004, 17:16:27 by Planck »
I know a little about a lot, and a lot about a little.

Dubieman

  • Guest
Re:okay
« Reply #2 on: 26 Dec 2004, 05:56:21 »
Erm,
try the setbehaviour command. Use the setunitpos "UP" also but when you want the gun holstered, put

sillycivvi setbehaviour "CARELESS"

then when you want him to aim....

sillycivvi setbehaviour "AWARE"

sillycivvi dotarget santa

That should give you the effect you want, if I understand you right.

DBR_ONIX

  • Guest
Re:okay
« Reply #3 on: 27 Dec 2004, 21:53:54 »
this setbehaviour SAFE; Removeallweapons this
To make him "hide" the weapon
this setbehavour AWARE; this addweapon "Berreta"
to give him a gun
- Ben