• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Vehicle turret?

Status
Not open for further replies.
Level 3
Joined
Jul 2, 2009
Messages
51
Hey in a map im making, you can commandeer vehicles and such
and in some of those vehicles are turrets, operated by a player
So one player drives and the other is the gunner, pretty simple right?
I noticed that in a map called Symbiote they have a system which
uses a unit as the gunner, and when the vehicle moves the gun moves with it
So i tried this in my map using:

  • Events
    • Time - Every 0.05 seconds of game time
  • Conditions
  • Actions
    • Unit - Move Turret 0077 <gen> instantly to (Position of APC 0073 <gen>)
So when i tested it it worked alright, the gun followed the vehicle around properly
However when i tried to fire then gun, it wouldnt fire
I realised that the Move unit instantly trigger disrupts normal commands
Is there any way to work around this or any other trigger I could use?
 

EHH

EHH

Level 3
Joined
Jun 20, 2009
Messages
35
Lol, no.

Use EGUI or JASS. There's a function for EGUI that "reposition's the unit" meaning that it doesn't interrupt the unit's orders. Unlike that function, which interrupts unit's orders.

If you get EGUI, we're in for business.
 
Level 3
Joined
Jul 2, 2009
Messages
51
Lol, no.

Use EGUI or JASS. There's a function for EGUI that "reposition's the unit" meaning that it doesn't interrupt the unit's orders. Unlike that function, which interrupts unit's orders.

If you get EGUI, we're in for business.

Alright I'll try use EGUI or whatever, yeh phoenix fire won't work cos you may be manual attacking allied units.

EDIT: I just heard that apparently EGUI or whatever doesnt work with the new 1.24 patch.
 
Status
Not open for further replies.
Top