Jump to content
Sign in to follow this  
steelblood

Drapers Airstrike Script

Recommended Posts

Hi

I am making this thread because recently i have been using Drapers Air strike Script (Which i love btw great work to Draper :D). However when you die in game and re spawn, you can no longer call in air strikes. So i was wondering why this is. Do you get a new name for the unit when it respawns. If so i am currently named m1 as you can see from the code i'm using -

(nul = [m1,"jadam","lgb","cbuap","cbuat","cbumine","cas","helo","trans"] execVM "airSup\airSupInit.sqf"; ) If this is the case is there anyway to stop respawns giving the unit a new name as i'm sure it will prove useful for other codes aswell such as mobile respawns etc. Thank's alot

Dan

Share this post


Link to post
Share on other sites

You can do it so that the team leader will always be able to rather than a certain unit like "m1".

In the leader's init:

Alpha = group this;

For calling the script:

nul = [Leader Alpha,"jadam","lgb","cbuap","cbuat","cbumine","cas"," helo","trans"] execVM "airSup\airSupInit.sqf";

Then whoever is the group leader will have the ability even if m1 dies. There are probably better ways to do it but I always have the TL as the only one able to call support.

Or you could ask in Draper's own thread: http://forums.bistudio.com/showthread.php?t=90365&highlight=draper+air+support

Share this post


Link to post
Share on other sites

Wow that was quick and bloody excellent thank you so much

Dan

---------- Post added at 09:34 PM ---------- Previous post was at 09:29 PM ----------

Hmm so (I know going of Topic please don't kill me in a hurl of abuse) how would i do a similar thing for an emtpy APC or would i have to make it unit ? Because i want to using a moving spawn point but i also want it to be able to do the same thing after it dies. Thanks for any help

Dan

Share this post


Link to post
Share on other sites

hmm i tried the alpha leader thing and it didn't seem to work ? As when i spawned i didn't always spawn as Alpha Leader :( ?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×