• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Issues with creating KB3D missiles? Won't face target.

Status
Not open for further replies.
Level 8
Joined
Aug 11, 2010
Messages
273
I'm having trouble creating missiles to work with arrows. They travel and move towards the target just fine, it's just since I'm using an arrow model they seem to refuse to face the correct way. It's a minor cosmetic issue but it's really bugging me!

Could anyone tell me how to fix this issue who's more familiar with the KB3D system than I am?
https://www.hiveworkshop.com/threads/knock-back-3d-mms-3d-v-3-2-1.242031 this is the system I'm referring to.

And here's my script.

  • HELR Aimed Shot Effect
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to [Hero - Elven Ranger] - Aimed Shot
    • Actions
      • -------- - - - Set Important Variables - - - --------
      • Set TempPoint = (Position of (Triggering unit))
      • -------- - - - Spell Effect - - - --------
      • Unit - Create 1 [Hero - Elven Ranger] - Aimed Shot - (Projectile Dummy) for Neutral Passive at TempPoint facing Default building facing degrees
      • -------- - - - Spell Effect - - - --------
      • -------- - - - KB3D Data - - - --------
      • Set KB3D_Unit = (Last created unit)
      • Set KB3D_Targeted_Unit = (Target unit of ability being cast)
      • Set KB3D_HomingMissile = True
      • Set KB3D_FaceAngle = True
      • Set KB3D_DisableUnit = True
      • Set KB3D_Speed = 600.00
      • Set KB3D_Accel = 100.00
      • Set KB3D_EndTrigger = HELR Aimed Shot Collide <gen>
      • Set KB3D_AllowOutSiding = False
      • Set KB3D_EndWhenHit = True
      • Set KB3D_KillWhenHit = True
      • Custom script: call ExecuteFunc( "KB3D_Registration" )
      • -------- - - - - - - - - - - - - --------
      • Custom script: call RemoveLocation(udg_TempPoint)
      • -------- - - - - - - - - - - - - --------
 
Status
Not open for further replies.
Back
Top