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

[Trigger] Damn Custom Scripts!!!

Status
Not open for further replies.
Level 9
Joined
Oct 11, 2009
Messages
477
Hello, could someone post examples of correct Custom Script codes? Like call RemoveUnit(TriggeringUnit), because when I tried my example, there is something wrong with it. It appears that it is looking for a name, I think the part "TriggeringUnit" is wrong. Could someone help me, any help will be appreciated and +rep.:grin::grin::grin:
 
Level 9
Joined
Oct 11, 2009
Messages
477
Okay, so the wrong part in my Custom Script is that I lack 2 parentheses and instead the name I should put is (GetTriggerUnit()), I put (Triggering Unit). I tested it and it works! Thanks and +rep 4 u!!!:cute:
 
Level 3
Joined
Apr 23, 2010
Messages
11
Sorry for stealing the thread here but I have a similar problem. I have a darn nice looking key arrow movement system the only problem is that it doesn't allow attacks to be made. Maybe there's a way to solve that through custom scripts? If anyone knows please share your information!
 
Status
Not open for further replies.
Top