OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: FLBEE on 28 Sep 2003, 22:37:53
-
I have a patrol roving around with a safe setting.
When they see one of their dead homies, I want them to go into pissed off mode.
I set a switch trigger to 'this and not alive joesmith' , so the patrol goes out of the cycle and into seek and destroy mode.
This works, even if the dead body is out of their line of site, and even if I hide the body.
I only want it to work if they can see it and not work if the body is hid.
I thought I saw this in one of the official missions, so I am digging for it now, but if you know off the top of your head I would appreciate the help.
THX for your time.
-
There's a script for this @ Scripting: Beta Testing made by LCD
-
Thanks T R Armstrong !
Thats exactly what I was looking for. I'm also checking out SnYpir's script in the snippits section, but I think LCD's builds on that one.
So they're both downloaded and i'm off to dive in for expansion of my limited OFP know-how.
THX again ;D
-
I would recommend LCD's, he's the scripting guru no. 1 around here. SnYpir is Tute writer no. 1.
:beat: *Gets Shot* :beat:
-
the thing bout snYpirs 1 is dat it dont take in account da direction of da units nd if dere r ny objects in deir LOS while mine do ;D
LCD OUT