OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Nedal on 07 Feb 2004, 01:09:42

Title: safezones deathzones
Post by: Nedal on 07 Feb 2004, 01:09:42
i am sure, many of you knows this things

deathmatch map with safe zone

outer trigger DeadS:
Seznam = thislist - list HraS; "_x setdammage (getdammage _x) + 0.2" forEach Seznam; Pustit=false

inner trigger HraS
this

i just want to add a message, wich appears for the guy going out of the safe zone, but i dont know how
I know the safezone things with rectangles, and know how to make messages appears if a soldiers entres this rectangle, but i dont know how to make a message, with the safezone system with cirlces like above.

If i make
outer trigger DeadS:
Quote
Seznam = thislist - list HraS; "_x setdammage (getdammage _x) + 0.2" forEach Seznam; Pustit=false; hint format ["%1 was killed for entering West Safe Zone", name (thislist select 0)]


then the message apears constantly even if i am not out of the safezone, because i am actualy in the trigger circle
(killed get everyone in this trigger and not in HraS Trigger)

i know how to make a hint message to everyone wich is inside a trigger area, but how can i make a message to everyone wich is NOT inside a trigger area???

I hope you understand my problem

can anyone help?

Title: Re:safezones deathzones
Post by: Terox on 09 Feb 2004, 18:21:24
http://www.ofpec.com/yabbse/index.php?board=7;action=display;threadid=9830 (http://www.ofpec.com/yabbse/index.php?board=7;action=display;threadid=9830)
Title: Re:safezones deathzones
Post by: Nedal on 09 Feb 2004, 23:23:00
i solved this problem  (smile, now i have another, with the safezone warnings, you get them when you get shoot too, lol, but il find a solution for that one too)