• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

HIJACK ABILITY HELP!!!!!!!

Status
Not open for further replies.
Level 2
Joined
Sep 9, 2005
Messages
18
yea so i wanna make a hijack ability that works only enemy mechnical, ground units, so i tried it based off of the control magic spell, it worked but the problem is it has that little bar on the unit i casted it on, it says "control magic" and when it reaches the end, the unit disappers

i want a ability that when u cast it on the unit, it takes control of the unit, and it permently urs, and i want the spellcaster to dissaper...how would i do this? i would think triggers and whatnot....but how....
 
Level 7
Joined
May 6, 2005
Messages
390
1. Create a modified version of the Charm spell.

2. Create the following trigger.

Events:
- A unit starts the effects of an ability.
Conditions:
- Ability being cast equal to <your ability>.
Actions:
- Remove triggering unit from the game.

It should be easy, I'm just not sure if I remember the gui function names completely correct.
 
Level 2
Joined
Sep 9, 2005
Messages
18
ur triggering is wrong but i added a wait .5 secs before the remove unit and it works perfect now :D

thanks, i think ill add u to the credits... :wink:
 
Level 7
Joined
May 6, 2005
Messages
390
oh yeah - I completely forgot that it takes some time for the unit to be charmed. Try with the a unit finish casting a spell event, or keep the wait :).
 
Status
Not open for further replies.
Top