Home   Help Search Login Register  

Author Topic: DRAW!  (Read 519 times)

0 Members and 4 Guests are viewing this topic.

BronzeEagle

  • Guest
DRAW!
« on: 24 Dec 2004, 13:02:29 »
Okay you know how you have a western standoff where two men face each other and then someone says DRAW and they pull their guns out and bust?  Well I think I can do that in ofp.  This:
STR_ACTION_WEAPONINHAND
means weapons in hand and could possibly be used as a condition.  I got it off the action list.  This could open us up to all kinds of undercover missions where you sneak right up into the enemy base presumably unarmed, then pull out a gun and blast your target and hide your gun again but you're only a captive while your gun is away.  It's worth testing in the future....

First however, we'll need a condition that detects if the action has been performed.  That can actually detect if weapon in hand action is performed, maybe under a certain condition the weapon will be in hand and then on activation setcaptive 0.  You'd have to remove the present gun in hand action, and replace it with a new one that would cause this to happen.    

source:  http://www.ofpec.com/publicfiles/files/tutorials/CMDREFv104.htm#AF
« Last Edit: 24 Dec 2004, 13:11:41 by BronzeEagle »

bored_onion

  • Guest
Re:DRAW!
« Reply #1 on: 24 Dec 2004, 14:53:39 »
take a look at this thread i made a while ago, it could be what you're after

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

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:DRAW!
« Reply #2 on: 31 Dec 2004, 17:30:27 »
ROFL, that crappy mission. Played it with DBR_ONIX, was quite fun. ;D

Anyway, here's prolly something that'll fancy your mind:

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

:beat: *Gets Shot* :beat: