Ok, im using bear form for a hero, i have the main hero and his 5 levels of the bear form...I want to save the levels of 2 of his abilities and give the bear form new ones, problem is it only saves the level of the abilities you have currently into the hashtable, and never updates them....i need an addition to my trigger that updates Tempint3 and 4 to the CURRENT level when they turn into the Tiger, which is Ulti Fix (the tiger model form) Ulti Fix Copy is the Human form...need the level of Tempint3 and 4 to either update when they level the ability...or update every so many seconds while they are in human form (Ulti Fix Copy)
EDIT: ok i got that to work but now i need my trigger to set the actual level of Hatchet Heel and Dragon Claw to the correct levels, in this trigger it does this
+rep if you can help me...im really stuck now =(
-
Ulti Fix
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Tiger Form
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Kevinn Equal to False
-
-
Then - Actions
-
Set Kevinn = True
-
Hashtable - Create a hashtable
-
Set HashTable2 = (Last created hashtable)
-
Set TempInt = (Level of Dragon Claw for (Triggering unit))
-
Set TempInt2 = (Level of Hatchet Reel for (Triggering unit))
-
-
Else - Actions
-
-
Unit - Remove Dragon Claw from (Triggering unit)
-
Unit - Remove Hatchet Reel from (Triggering unit)
-
Player - Disable Hatchet Reel for (Owner of (Triggering unit))
-
Player - Disable Dragon Claw for (Owner of (Triggering unit))
-
Wait 0.10 seconds
-
Unit - Add Rake to (Triggering unit)
-
Unit - Add Prowl to (Triggering unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Kevinn_Copy Equal to False
-
-
Then - Actions
-
Unit - Set level of Prowl for (Triggering unit) to TempInt
-
Unit - Set level of Rake for (Triggering unit) to TempInt2
-
Set Kevinn_Copy = True
-
-
Else - Actions
-
Set TempInt3 = (Load 2 of (Key (Triggering unit)) from HashTable2)
-
Set TempInt4 = (Load 3 of (Key (Triggering unit)) from HashTable2)
-
Unit - Set level of Prowl for (Triggering unit) to TempInt3
-
Unit - Set level of Rake for (Triggering unit) to TempInt4
-
Set TempInt = TempInt3
-
Set TempInt2 = TempInt4
-
-
-
Hashtable - Save TempInt as 0 of (Key (Triggering unit)) in HashTable2
-
Hashtable - Save TempInt2 as 1 of (Key (Triggering unit)) in HashTable2
-
Trigger - Turn on Ulti Fix Copy <gen>
-
Trigger - Turn off (This trigger)
-
-
-
Ulti Fix Copy
-
Events
-
Unit - A unit Begins casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Tiger Form
-
-
Actions
-
Player - Enable Dragon Claw for (Owner of (Triggering unit))
-
Player - Enable Hatchet Reel for (Owner of (Triggering unit))
-
Set TempInt = (Load 0 of (Key (Triggering unit)) from HashTable2)
-
Set TempInt2 = (Load 1 of (Key (Triggering unit)) from HashTable2)
-
Unit - Remove Prowl from (Triggering unit)
-
Unit - Remove Rake from (Triggering unit)
-
Wait 0.15 seconds
-
Unit - Add Dragon Claw to (Triggering unit)
-
Unit - Add Hatchet Reel to (Triggering unit)
-
Unit - Set level of Hatchet Reel for (Triggering unit) to TempInt2
-
Unit - Set level of Dragon Claw for (Triggering unit) to TempInt
-
Set TempInt3 = (Level of Dragon Claw for (Triggering unit))
-
Set TempInt4 = (Level of Hatchet Reel for (Triggering unit))
-
Hashtable - Save TempInt3 as 2 of (Key (Triggering unit)) in HashTable2
-
Hashtable - Save TempInt4 as 3 of (Key (Triggering unit)) in HashTable2
-
Trigger - Turn on Ulti Fix <gen>
-
Trigger - Turn off (This trigger)
-
-
EDIT: ok i got that to work but now i need my trigger to set the actual level of Hatchet Heel and Dragon Claw to the correct levels, in this trigger it does this
-
Unit - Set level of Hatchet Reel for (Triggering unit) to TempInt2
-
Unit - Set level of Dragon Claw for (Triggering unit) to TempInt
-
Set TempInt3 = (Level of Dragon Claw for (Triggering unit))
-
Set TempInt4 = (Level of Hatchet Reel for (Triggering unit))
+rep if you can help me...im really stuck now =(
Last edited: