Ranged aiming

BLQQD

New Member
Reaction score
2
so i have these tanks and when u tell them to attack a unit behind them (within firing range) they immediately fire without acutally aiming at the target first. then they aim at the target for the second shot, its not that important but it looks alittle silly when it happens.

can sum1 tell me how to make the unit wait untill its atleast pointed in the right general direction b4 firing?
 

Nickdzul

New Member
Reaction score
1
triggers maybe.

I don't know whether this is right or not..

but you can give it a try.

Trigger:
  • Events - Unit - A unit Is issued an order targeting a point
    • Condition - (Unit-type of (Triggering unit)) Equal to (Your Tanks)
    • Action - Unit - Make (Attacking unit) face (Position of (Attacked unit)) over 0.10 seconds
 

BLQQD

New Member
Reaction score
2
no, the tanks do turn towards the target, i just want them to wait to fire until they are actually facing them.

good idea tho if that was my problem XD
 

Moridin

Snow Leopard
Reaction score
144
What is your tank unit based on? Generally units DO look before firing projectiles.
 

Nickdzul

New Member
Reaction score
1
yeah ^^ I guessed your tanks must be custom tanks?

I think your created a custom units, and the model art must be from doodads?

They don't have any animations to work out with.
 

Accname

2D-Graphics enthusiast
Reaction score
1,464
you need to change some object editor value, there got to be a field called: "Graphic - Facing Interpolation" or something like that (havent gotten english WE at the moment).
change it to 0 and everything should work out fine.
 

BLQQD

New Member
Reaction score
2
you need to change some object editor value, there got to be a field called: "Graphic - Facing Interpolation" or something like that (havent gotten english WE at the moment).
change it to 0 and everything should work out fine.

hmmmm ill try it and get back to you

EDIT: yes it worked tyty +rep.... and the field is Art-Orientation Interpolation
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top