OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: 456820 on 31 May 2005, 08:21:58
-
im wondering how i can delte a trigger half way a game ive tried
deletevechile trigger1
but didnt seem to work
ive got a trigger with a condition to detect when 3/4 of 2 squads are dead then it activates but when a different rigger activates telling you to retreat and you then run into a patrol and if they take out a few men then activates the first trigger asking for reinsforcements but its to late so after the second trigger is active i want to delee the first one how would i do that ?
-
if the first trigger is named 'trigger1', then
deletevehicle trigger1
as part of the second trigger's 'on activation' field will work. it all comes down to what's in the condition field, but i'm afraid i can't really make head nor tail of the question to be able to offer more than that :-\
-
ill try that aain but last time i tried it didnt work maybe i did something wrong any way thanks ill try that
-
thanks Beges it works fine mustof been something wrong last time i tried anyway cheers