OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Kilo11 on 11 Jul 2003, 23:55:53

Title: Detecting a Player
Post by: Kilo11 on 11 Jul 2003, 23:55:53
Hello All,

I want a trigger to activate when the player (Name: AP) is detected by a *friendly unit.  So when me (the player, Name: AP) is detected by a West soldier, the mission will end.  Please help, thank you!

-=Kilo=-
Title: Re:Detecting a Player
Post by: LCD on 11 Jul 2003, 23:58:20
group uself 2 da triger

nd put detected by west ;D


LCD OUT
Title: Re:Detecting a Player
Post by: Kilo11 on 12 Jul 2003, 00:32:58
It didn't wrok....

I made a Trigger, that was "Detected By West", and I grouped myself to it.  And it doesn't work.

-=Kilo=-
Title: Re:Detecting a Player
Post by: Blanco on 12 Jul 2003, 01:02:16
 ???

Is your trigger 50 * 50?

If so, the trigger only fires when U R in the tiny trigger & the westguy detects U:)

Make him bigger dude :)

axis a & axis b , U know on top of the trigger properties...



Title: Re:Detecting a Player
Post by: Kilo11 on 12 Jul 2003, 01:06:59
Nope, even still, it doesn't work.  I have the axis covering the entire island.  And the following in the Trigger:

-Activation: Vehicle

-Detected By West

-Type: End #1

-On Activation: hint "You were detected"

-And I am grouped to the trigger (Its my leader)

I don't konw.  I walk right by the west soldiers to test it, and it does not work.  Nothign activates.  Help.

-=Kilo=-
Title: Re:Detecting a Player
Post by: Kilo11 on 12 Jul 2003, 01:14:48
Alright, i got it.  Thank you for all your help

-=Kilo=-
Title: Re:Detecting a Player
Post by: LCD on 12 Jul 2003, 01:16:17
how did u solve it ? our way ?

btw da solve topic os somwere down dere - press it ;)

LCD OUT
Title: Re:Detecting a Player
Post by: Kilo11 on 12 Jul 2003, 01:19:49
Acctually, another problem now mates.  It just constantly activates the trigger no matter what.  I think that the west units autmatically konw where my player is.  And suguestions?

-=Kilo=-
Title: Re:Detecting a Player
Post by: peter on 12 Jul 2003, 05:21:16
i think it wont work this way, if you group a trigger and a unit usually only the grouped unit can activate the trigger ...

i would use a trigger and put in the condition-field:

(grpW1 KnowsAbout player >= 1)

grpW1 can be a group or a unit, so you may have to use

(grpW1 KnowsAbout player >= 1) OR (grpW2 KnowsAbout player >= 1) OR ...

for more groups/units