Home   Help Search Login Register  

Author Topic: Artillery Location  (Read 754 times)

0 Members and 2 Guests are viewing this topic.

titan

  • Guest
Artillery Location
« on: 05 Apr 2003, 17:46:47 »
I need help making a script (first script actually). Could smeone help me and explain to be step by step how i cld make a script where you cld put a marker on the map and a barrage of heat120 rounds (say 10 diff rounds) wld come down in a random placement anywhere from 0 metres out to 20 metres from the marker. Then once the marker is placed down you wld use a radio to call it in. (the marker wld be named Art/Location).

titan

  • Guest
Re:Artillery Location
« Reply #1 on: 05 Apr 2003, 17:48:05 »
p.s.   could you not direct me to any tuts, as i dont find them easy to follow. Cause for instance if you put smething i dont follow i can then ask a question about it and it cld be explained in detail.

Der_Richter

  • Guest
Re:Artillery Location
« Reply #2 on: 09 Apr 2003, 01:34:06 »
first of all: letÂ's go over some theory. (i hear u sigh) :)

This is what needs to be done (in this order):

Wait for the player to mark some point on the map.

React to that.

Create an action for the player so he can call in the artillery.

camCreate the shells at desired height, in desired quantity and of desired type.

Make sure to create them randomly around the markers position.

Watch the show.


Your homework:

Look up these commands in your reference:

* addeventhandler

* addaction

* camcreate


When u think u got a hang of what they do, let me know and weÂ'll continue.

titan

  • Guest
Re:Artillery Location
« Reply #3 on: 09 Apr 2003, 20:42:49 »
yeah...it wld be a little more helpful if you told me what i actually need to put rather then what i need!?!

the main thing i need is the command to be able to create a marker in the game called smething specific!

Der_Richter

  • Guest
Re:Artillery Location
« Reply #4 on: 11 Apr 2003, 12:19:15 »
You are referring to when the player clicks his map to mark a spot?

titan

  • Guest
Re:Artillery Location
« Reply #5 on: 11 Apr 2003, 19:21:43 »
yeah, so u either click on the radio then open a map and click on it to create a marker for the art location. Or do the marker first then click on the radio....or even both, one radio to allow the creation of a marker then another for the art!!