• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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