Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Being spotted with a gun
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Being spotted with a gun (Read 830 times)
0 Members and 1 Guest are viewing this topic.
HuNtA
Guest
Being spotted with a gun
«
on:
03 Feb 2003, 11:11:01 »
Can some1 help me
. 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
Logged
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.
Logged
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)
Logged
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.
Logged
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
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Being spotted with a gun
Top of page