• 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.

[General] SUICIDE SQUAD???

Status
Not open for further replies.
Hey, I have vendor units and when you buy 3 items from one I want to mae teh unit suiide kill itself with effect. I need this, because the unit is invisible and only visible to the player! and when it disappears I Want to effect to be also invisible! :D So.... is there any suicide ability?
Else I know there is local special effect, but someone told me they cause desynchronization.... in multiplayer...
 
Last edited:
Level 20
Joined
Aug 13, 2013
Messages
1,696
It will not cause desync if you've only set it's string model path.
JASS:
local string model = " "
if GetLocalPlayer() == GetTriggerPlayer() then
    set model = "war3\some\Model.mdx"
endif
call DestroyEffect(AddSpecialEffect(model,0,0))
 
Status
Not open for further replies.
Top