Home   Help Search Login Register  

Author Topic: Droping anything using the map  (Read 517 times)

0 Members and 1 Guest are viewing this topic.

ExSeal

  • Guest
Droping anything using the map
« on: 04 Oct 2003, 00:35:03 »
Hey i was looking around the editors depot maybe i over looked something but i was wondering if there was a script snippit or any syntax that would alow me to drop any object that i would like from just clicking to a coord on the map? I dont want anything to complicated but just something where i can click and it will drop like a ammo crate or a LGB to that location? thx for your help

Offline ACF

  • Members
  • *
  • Llama?? Ain't that French for tanks?
Re:Droping anything using the map
« Reply #1 on: 04 Oct 2003, 01:15:54 »
Check out the "onMapSingleClick" command in the Command Reference (and try a search for it as well, might turn up something useful).

You could use it to either directly to drop a single object to a point on the map or, for more control, pass the position array to a script and create and even choose the object from there.

Check out artillery scripts too - they often use onMapSingleClick and could be trimmed down to do what you need.