OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: FLBEE on 28 Sep 2003, 22:37:53

Title: I see dead people..alarm trigger question.
Post 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.
Title: Re:I see dead people..alarm trigger question.
Post by: dmakatra on 28 Sep 2003, 22:42:43
There's a script for this @ Scripting: Beta Testing made by LCD
Title: Re:I see dead people..alarm trigger question.
Post by: FLBEE on 28 Sep 2003, 23:06:07
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
Title: Re:I see dead people..alarm trigger question.
Post by: dmakatra on 29 Sep 2003, 10:47:04
I would recommend LCD's, he's the scripting guru no. 1 around here. SnYpir is Tute writer no. 1.

:beat: *Gets Shot* :beat:
Title: Re:I see dead people..alarm trigger question.
Post by: LCD on 29 Sep 2003, 16:03:23
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