How to {Adding an attachment to unit using triggers}

Status
Not open for further replies.
You mean you need the SFX to move with the unit? I think this is what you need:
  • GUI
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • Special Effect - Create a special effect attached to the ATTACH_POINT of u using MODEL_PATH
or

  • SemiGUI
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • Custom script: set udg_SFX = AddSpecialEffectTarget(MODEL_PATH, udg_u, ATTACH_POINT)
ATTACH_POINT what the name suggests, where the SFX is attached. You can use: "overhead", "chest", "origin", "hand", "weapon", etc. (It's a string)
MODEL_PATH is the address of your SFX. Also a string it is.
 
  • Untitled Trigger 001
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Special Effect - Create a special effect attached to the origin of (Your Unit) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
:D
 
Status
Not open for further replies.
Back
Top