Jump to content
Sign in to follow this  

Recommended Posts

I want to make the GIGAN SCUD LAUNCHER launch after a time limit has been reached and then hit a specific target... have no idea how to do this...

Share this post


Link to post
Share on other sites

Try somthing like this

this line in you init.

Quote[/b] ]execVM "Launch.sqf";

Launch.sqf

Quote[/b] ]Launch_start={

while{_this-round(time)>0}do{

   hint format ["time left: %1 seconds",_this-round(time)];

   sleep 1;

 };

 

 hint "Launch...";

 _marker = execVM "bombcreate.sqf";

};

10 spawn Launch_start;

Create a Gamelogic called; bomb

bombcreate.sqf

Quote[/b] ]_marker = "Bo_GBU12_LGB" createVehicle getPos bomb;

That should give you a basic idea on how to start wink_o.gif

GL

Share this post


Link to post
Share on other sites

Except if you really want to use the SCUD, replace the GBU part with the class name of the SCUD form the addon.

Share this post


Link to post
Share on other sites

is there any way that i can show the count down on the screen to all players.. ? like i want to put a contdown in the top left...

Share this post


Link to post
Share on other sites

also, these are the script files... man, i am just getting into this scripting so i deff. need a lil help... i dont really understand commands and ofpec isnt "dummy friendly"...

*Stand missile.

[this] exec "\GIG_Scud\stand.sqs"

*Launch mssile.

[this] exec "\GIG_Scud\launch.sqs"

*Nuclear explosion to specified position. [X-Pos,Y-Pos]

[2500,3000] exec "\GIG_Scud\exp.sqs"

*Missile launch judging example.

?(this animationphase "Trigger2" == 1) : hint "Missile launched!"

i have no idea what the last one is...

notworthy.gif

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  

×