- 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)
-
Events