- Joined
- Mar 10, 2009
- Messages
- 5,016
I do not know where to put this coz this is only a suggestion for the rule of GUI spell submissions, whenever I import something. object first then triggers, it's a pain the the ass to put the correct SPELLID to the trigger, why coz it's messed up if you have many other custom abilities in your map, didn't get me?
This [thread=151395]Spell[/thread] for example and many others, when I import it to my map, it displays like this;
The "Great Possesion" spell is in my map but it's not the correct spell for this...so I have to change ALL the SphereValue to the correct spell...really it's a pain in the ass, imagine if you'll change more or the clicks in levels...
Solution:
It cannot be avoided but can be minimize by making a variable at setup to store that particular spell then change ONLY the variable value...
Now, I'd like to request to implement this as a rule that a setup must be created, not only forspells ability objects but for ALL custom objects, like buffs and units...
NOTE:
If anyone can fix this problem without setup, this thread maybe removed...
EDIT:
Also, I already checked and uncheked the 'Automatically create unknown variables while pasting trigger data' (which doesnt really relates objects btw)
This [thread=151395]Spell[/thread] for example and many others, when I import it to my map, it displays like this;
-
Sphere I Spell Init
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Great Possesion
-
Actions
- -------- ================= --------
- -------- Sets the location of units --------
- Set Sloc[1] = (Position of (Triggering unit))
- Set Sloc[2] = (Position of (Target unit of ability being cast))
- -------- ================= --------
- -------- Sets all values, which are for later use - to see what the values do, check the trigger comment --------
- Set SphereValue[1] = ((Integer((Distance between Sloc[1] and Sloc[2]))) + 300)
- -------- You can change the values below --------
- Set SphereValue[2] = ((Level of Great Possesion for (Triggering unit)) x (Intelligence of (Triggering unit) (Include bonuses)))
- Set SphereValue[3] = ((20 + (10 x (Level of Great Possesion for (Triggering unit)))) + ((Intelligence of (Triggering unit) (Include bonuses)) x 2))
- Set SphereValue[4] = ((((Level of Great Possesion for (Triggering unit)) x 25) / 3) + ((Intelligence of (Triggering unit) (Include bonuses)) / 2))
- Set SphereValue[5] = (1 + (Level of Great Possesion for (Triggering unit)))
-
Events
The "Great Possesion" spell is in my map but it's not the correct spell for this...so I have to change ALL the SphereValue to the correct spell...really it's a pain in the ass, imagine if you'll change more or the clicks in levels...
Solution:
It cannot be avoided but can be minimize by making a variable at setup to store that particular spell then change ONLY the variable value...
-
Sphere I Map Init
-
Events
- Map initialization
- Conditions
-
Actions
- -------- ================= --------
- -------- Spell AbilityID --------
- Set SP = Chaotic Sphere
-
Events
-
Sphere I Spell Init
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to SP
-
Actions
- -------- ================= --------
- -------- Sets the location of units --------
- Set Sloc[1] = (Position of (Triggering unit))
- Set Sloc[2] = (Position of (Target unit of ability being cast))
- -------- ================= --------
- -------- Sets all values, which are for later use - to see what the values do, check the trigger comment --------
- Set SphereValue[1] = ((Integer((Distance between Sloc[1] and Sloc[2]))) + 300)
- -------- You can change the values below --------
- Set SphereValue[2] = ((Level of SP for (Triggering unit)) x (Intelligence of (Triggering unit) (Include bonuses)))
- Set SphereValue[3] = ((20 + (10 x (Level of SP for (Triggering unit)))) + ((Intelligence of (Triggering unit) (Include bonuses)) x 2))
- Set SphereValue[4] = ((((Level of SP for (Triggering unit)) x 25) / 3) + ((Intelligence of (Triggering unit) (Include bonuses)) / 2))
- Set SphereValue[5] = (1 + (Level of SP for (Triggering unit)))
-
Events
Now, I'd like to request to implement this as a rule that a setup must be created, not only for
NOTE:
If anyone can fix this problem without setup, this thread maybe removed...
EDIT:
Also, I already checked and uncheked the 'Automatically create unknown variables while pasting trigger data' (which doesnt really relates objects btw)