• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Issue order move event wont work?

Status
Not open for further replies.
Level 15
Joined
Aug 18, 2007
Messages
1,390
So, here i am again, after being away from wc3 modding for about a year, i decided to try again... And i really need to start up again.

So, i decided to try make one of my ideasa called "Vehicle Arena" (search my posts to find it), and i wanted to use mouse movement, where you accelerate your car by using Move. So, now i found out, that the accelerate trigger only executes if i FIRST press the icon (or the hotkey M), and then target the area, and wont work when you just Right click a spot.

Is there a way to fix this? because you will be literily spamming move all the time, and keeping spamming "m" and right click just makes everything more messy.

I will apricate any form for help, Thanks in Advance.

/Lord_of_Sausage
 
Level 23
Joined
Nov 29, 2006
Messages
2,482
If you want to register an event in which you rightclick on the map, you will have to do this via a Event - unit is issued point target

Basically the trigger template would look like this:
  • GetMoveOrder
    • Events
      • Unit - A unit Is issued an order targeting a point
    • Conditions
      • (Issued order) Equal to (Order(move))
    • Actions
      • -------- Do actions here --------
And that would be all :O
Edit: or Order(smart) ^^
 
Level 15
Joined
Aug 18, 2007
Messages
1,390
AAAAH! Thanks alot, now i can keep going :D +rep :D

Huuuuuuge thanks xD

@ Eccho, Thats how my trigger looked like, but didn't work : (

Anyway, +rep for trying to help me out

Oookay, abnother problem (de-ja-vu) while we are here:

In my map, you a driving in vehiclese :)O) so i dont want you to be able to turn 180 degrees in like a half sec. I want my turning to be (hold on):


The current speed (variable) + the ammount of degrees from the unit's facing angle, to the target point, DIVIDED by the heroes (STR*10).

But when moving, only changing facing angle over 0.00 sec works, so a facing change over 1.3 sec is a no go, any ideas to fix this?
 
Status
Not open for further replies.
Top