- Joined
- Oct 21, 2006
- Messages
- 3,230
Set Weapon Type: Axe
Set Weapon Type: Mace
Set Weapon: Sword
Pick Weapon: Paladin
I am trying to make a RPG, and need a lot arrayed variables. (~100/Weapon type? )
The last trigger doesnt work. I think the problem is 1-100, but how to fix it?
If I set 1 to last trigger it works for the one item, but Im not going to make condition with ''if item is Mace 1 or 2 or 3 or ... or 100''. Same to Sword.
Need simple 1 -------- 100. :\
-
Set Axe Events
- Map initialization
- Conditions
-
Actions
- Set WEAPON_Axe[1] = Serathil Set WEAPON_Axe[2] = Killmaim
Set Weapon Type: Mace
-
Set Mace
-
Events
- Map initialization
- Conditions
-
Actions
- Set WEAPON_Mace[1] = Maul of Strength
-
Events
Set Weapon: Sword
-
Set Sword
-
Events
- Map initialization
- Conditions
-
Actions
- Set WEAPON_Sword[1] = Searing Blade
- Set WEAPON_Sword[2] = Frostguard
-
Events
Pick Weapon: Paladin
-
Pick Sword Mace
-
Events
- Unit - A unit Acquires an item
-
Conditions
- (Unit-type of (Hero manipulating item)) Equal to SET_WEAPONS_Sword_Mace
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Item-type of (Item being manipulated)) Equal to WEAPON_Mace[(1 - 100)]) or ((Item-type of (Item being manipulated)) Equal to WEAPON_Sword[(1 - 100)])
-
Then - Actions
- Do nothing
-
Else - Actions
- Hero - Drop (Item being manipulated) from (Hero manipulating item)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
I am trying to make a RPG, and need a lot arrayed variables. (~100/Weapon type? )
The last trigger doesnt work. I think the problem is 1-100, but how to fix it?
If I set 1 to last trigger it works for the one item, but Im not going to make condition with ''if item is Mace 1 or 2 or 3 or ... or 100''. Same to Sword.
Need simple 1 -------- 100. :\