- Joined
- Sep 8, 2004
- Messages
- 633
Hello! I've got a problem with the trigger line
(P.S. I'm aware of the fact that this is GUI and thus sucks (leaks), but my JASS skills are yet insufficient.)
- Hero - Instantly revive Unit_Founder[(Player number of (Owner of (Picked unit)))] at Point_Temp, Show revival graphics
(P.S. I'm aware of the fact that this is GUI and thus sucks (leaks), but my JASS skills are yet insufficient.)
-
Unit Finish Casting
-
Events
- Unit - A unit Finishes casting an ability
-
Conditions
- (Ability being cast) Equal to Resurrection
-
Actions
- Set Int_Temp = 0
-
Unit Group - Pick every unit in (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Burial Site)) and do (Actions)
-
Loop - Actions
- Set Boo_Founderdead[(Player number of (Owner of (Picked unit)))] = False
- Set Point_Temp = (Position of (Picked unit))
- Hero - Instantly revive Unit_Founder[(Player number of (Owner of (Picked unit)))] at Point_Temp, Show revival graphics
- Set Unit_Founder[(Player number of (Owner of (Picked unit)))] = (Last created unit)
- Game - Display to (All players) for 5.00 seconds the text: ((Name of (Owner of (Picked unit))) + has been ressurrected!)
- Cinematic - Ping minimap for (All players) at Point_Temp for 3.00 seconds
- Unit - Remove Unit_Burialsite[(Player number of (Owner of (Picked unit)))] from the game
- Set Int_Temp = (Int_Temp + 1)
-
Loop - Actions
- Player - Add (Int_Temp x 50) to (Owner of (Casting unit)) Current gold
- Game - Display to (All players) for 5.00 seconds the text: ((Name of (Owner of (Casting unit))) + ( received + ((String((Int_Temp x 50))) + gold for ressurrecting his allies!)))
- Unit - Kill (Casting unit)
-
Events