Home   Help Search Login Register  

Author Topic: Map clicks  (Read 505 times)

0 Members and 1 Guest are viewing this topic.

mad_addons

  • Guest
Map clicks
« on: 16 Jul 2005, 18:05:06 »
Can anybody tell  me how to move the things (such as game logics) to the point where you clicked on the map? I've played a map similar like this. You click and everyone goes to that point. Also can you do two of these at once?

Following these steps.. how do you make a waypoint for soldiers who were created using the script (Createunit)?

I would really appreciate your help.

Offline Platoon Patton

  • Members
  • *
  • "Barbecue" CreateVehicle getpos LLama
Re:Map clicks
« Reply #1 on: 16 Jul 2005, 19:28:45 »
Search for info about "OnMapSingleClick" command.

http://www.ofpec.com/yabbse/index.php?board=8;action=display;threadid=2666;start=0 Nice thread to start with ;)

http://www.platoon-clan.com/ We always wellcome dedicated OFP players :)

http://www.european-combat-league.com/index.php To play with us in the best OFP league ;)

qqqqqq

  • Guest
Re:Map clicks
« Reply #2 on: 16 Jul 2005, 23:52:18 »
Loons created with createunit must be created into an existing group.    Give the waypoints to that group.  

You cannot create waypoints out of thin air.   However you can move existing waypoints with setwppos and make groups loop through them using switch triggers.   You can fake waypoints with gamelogics, triggers and move commands.