Home   Help Search Login Register  

Author Topic: unsuspicious walk!  (Read 462 times)

0 Members and 1 Guest are viewing this topic.

Offline desper8

  • Members
  • *
  • REBEL Council member
    • http://rebel.clanzone.at/board/
unsuspicious walk!
« on: 09 Jan 2004, 16:33:25 »
im makin a cops and robbers mission

it will be based on pistols only

i just wanted to know
is there a way to alow a player to put his pistol away
and just walk normally

because when u pocket a pistol u walk with your hand on your side!!!!

i want him to have a generic unarmed walk
(this sounds to me to be a very complicated problem)
any idea?
friendly clan battle any one?
PM me

Offline rhysduk

  • Former Staff
  • ****
Re:unsuspicious walk!
« Reply #1 on: 09 Jan 2004, 18:32:56 »
not complicated :)

*thinks to himself ..hmmm

I think it can be done with Setbehaviour - and SetCombatmode .. if both are set to a state of SAFE .. then the unit should holster anyguns , thus going intot he SAFE mode ..

but i think it can be done with "Action" aswell...

Rhys
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Offline .pablo.

  • Former Staff
  • ****
  • When in doubt, empty the magazine.
Re:unsuspicious walk!
« Reply #2 on: 09 Jan 2004, 20:16:12 »
rhysduk, his problem isnt having them put the gun away, its that the animation for standing/walking changes if you are carrying a weapon.

to do it you need to basically take away the player's gun, then give it back when they ask for it (radio or action menu)

i remember seeing a script to do it in the snippets section of the editing depot, just search for it

here's a post that deals with hiding weapons:
http://www.ofpec.com/yabbse/index.php?board=27;action=display;threadid=14272;start=0