Home   Help Search Login Register  

Author Topic: Being spotted with a gun  (Read 833 times)

0 Members and 2 Guests are viewing this topic.

HuNtA

  • Guest
Being spotted with a gun
« on: 03 Feb 2003, 11:11:01 »
Can some1 help me :P. I need a script that will check if the player has been spotted while his gun is pulled out and make some guys come and get him

Pointman

  • Guest
Re:Being spotted with a gun
« Reply #1 on: 04 Feb 2003, 01:26:45 »
what you could do is to go through a list of enemies in the game (all set to blue/careless so they wont attack) but if they KnowsOf (or whatever the function was) == 4 and your player HasWeapon "Gun" then they could be set to Aggressive status and go for his Pos.

Sounds good?

How are you gonna "pull out a gun" though? i only have CWC and there you couldn't physically have a gun "holstered". but you could make scripts that simulated it.

HuNtA

  • Guest
Re:Being spotted with a gun
« Reply #2 on: 04 Feb 2003, 17:13:35 »
I sorta meant having the gun on your back (like in safe mode)

Daneel

  • Guest
Re:Being spotted with a gun
« Reply #3 on: 05 Feb 2003, 19:51:30 »
Give him a handgun instead. Those can be properly holstered. Must more believable.

casual1y

  • Guest
Re:Being spotted with a gun
« Reply #4 on: 05 Feb 2003, 20:41:44 »
Maybe a script that picks up an "X on back", defines a variable, and then a trigger with "Y detected by Z" that checks for the variable, and adjusts enemy behaviour accordingly.

casual1y