• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Wheres the Error?

Status
Not open for further replies.
Level 17
Joined
Jun 17, 2010
Messages
2,275
Every time i try to save with jass new gen i get an error, and when i get an error jass new gen freezes! So wheres the error:

  • Decieve Break
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Attacking unit) has buff Decieve ) Equal to True
    • Actions
      • Set Guise_Controller_Point = (Position of Decieve_Dummy)
      • Set Decieve_Target = (Triggering unit)
      • Custom script: set Decieve_Key = GetHandleId(udg_Decieve_Target)
      • Unit - Create 1 Unit Controller for (Owner of (Triggering unit)) at Guise_Controller_Point facing Default building facing degrees
      • Set Decieve_Dummy = (Last created unit)
      • Unit - Hide (Last created unit)
      • Hashtable - Save Handle OfDecieve_Dummy as 0 of (Key Decieve_Key) in Decieve_HashTable
      • Hashtable - Save Decieve_Boolean as 1 of (Key Decieve_Key) in Decieve_HashTable
      • Unit Group - Add Decieve_Dummy to Decieve_DummyGroup
      • Trigger - Turn on Dummy Movement <gen>
      • Custom script: call RemoveLocation(udg_Guise_Controller_Point)
 
Status
Not open for further replies.
Top