Jump to content
Sign in to follow this  
Redline

Is there anyway to make 'trip' flares

Recommended Posts

i also want the player to 'place' these or at least walk around his assigned firing position and 'activate' (arm) these flares.

thx

Share this post


Link to post
Share on other sites

Thats a great site, are there any missions already made out there that have the artillery scripted in it. I really dont have time (or the know how) to make my own mission but I would love to play a mission in which I could call artillery.

Share this post


Link to post
Share on other sites

I never used artillery scripts. When I first looked at one it looked pretty hard and I wanted to learn how to do it myself instead of using other peoples scripts.

Its easy to make artillery and it only takes 3 triggers.

==============================================

Trigger 1:

Activation: Radio Alpha

Repeatedly

Not present

Type: Switch

Condition: this

On activation: a1=true;a2=true

------------------------------------------------------------

Trigger 2:

Activation: Anyone

Repeatedly

Not present

Type: Switch

Name: T

Condition: a1 and a2

On activation: Boom="Shell125" camcreate [(getpos T

  select 0)+random(50),(getpos T select 1)+random(50),100];

  a2=false

On deactivation: a2=true

This trigger will keep creating HEAT125 at random 50 meters north and random 50 meters east from itself at an altitude of 100 meters until its deactivated by trigger 3.

------------------------------------------------------------

Trigger 3:

Activation: Anyone

Repeatedly

Not present

Countdown

Min: 10

Max: 10

Mid: 10

Condition: a1 and this

On activation: a1=false

This trigger will stop trigger 2 from creating HEAT125 after 10 seconds. U can then make it start again by using radio alpha again.

I was trying to make a mission where U could call in artillery, adjust fire and call it in again. The only problem for me was that I cant move markers the way I want (with setpos) so U cant see on the map where the target is.

I tried this while posting this reply so it should work but I cant say Im 100% sure I didnt type anything wrong. Im 98% sure though :-)

Share this post


Link to post
Share on other sites

I can send U that mission and U will only have to merge it into Ur own mission to use it.

I hope there will be a good way to move markers. Would be great if setpos worked on them.

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  

×