OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Lead Poison on 30 Sep 2002, 09:56:21
-
I am the group leader. I want to use my radio to call in an air strike on a beach. Ok, I know how to do that! But, I dont want the group leader to have access to that radio call until the mission has been running for 5 minutes. How do I do that???
Lead Poison
-
Add this onto the end of the condition you already have:
time > 300
IE:
this AND time >300
or
Artill AND time >300
8)PEACE
-
Here's another suggestion Lead.....since I'm good at trigs and wpts, I might as well share with you this method...well, you can have e.g Radio Alpha for the airstrike, firstly, if you make a trig for Radio Alpha, Alpha will be available to you throughout your game....since you want it to activate at certain times, have a condition for it, for example, if you want any1 of your members dead be4 you are given the green light...you could have that trig grouped to your squad(which is you, if you are the leader) and you'll notice there is a little change on the Activation line, Instead of "West","East","Anybody" and bla bla bla....you'll have, "Whole Group","Group Leader","Any one of your member" and something else. Choose "Any one of your member" and change the mode to "Not Present" and you're done...just remember to add in the necessary airstrike codes on the "On Activation" line (whatever that is...). You'll notice that, during play time, you can radio 0-0-1 (Alpha), but nothing will happen, the radio would not launch or can be accesed until one of your members died........well, I haven't tried this out yet, but I've tried it with my many missions concerning radio calls but I didn't think of doing an airstrike script, I only did it for bringing in reinforcements and stuff, but I'm 99% sure that my theory will work out...good luck and good editing, see ya.
-
If what you want is to be able to activate and see the radio channel after five minutes, do this:
Create a trigger, Activated Radio Alpha, On Activation whatever you want.
Now create a file in the mission's folder called init.sqs. Put in it: 1 setradiomsg "null"
Now back to the game. Create another trigger. Countdown Min - Max - Med => 300
On activation 1 setradiomsg "whatever you want to show"
-
Thanks Gameer_77, that worked like a charm!!!
Lead Poison
-
Now create a file in the mission's folder called init.sqs. Put in it: 1 setradiomsg "null"
Or you could just put null in the text Field of the radio trigger... does exactly the same thing ;)