Something has been starting bugging me for a while, and it's starting to be to anoying so if someone can lend me a had i'll be grateful.
------
-->The Problem<--I cant get some spells (like life drain or lumber harvest->from wisps) to allow other targets then normal.For example if i try to target an allied unit with life drain, and i set the targets allow to : Ground, Player units, Friend; it would say that i must target an enemy unit, and if i target an enemy it say's i have to target an allied...Same problem with harvest.
I think it has something to do with the presets of the game, and i'll be grateful if someone could clear this thing up for me.And, if u could direct me to a good tutorial on how do spells work in detail then i would be ever so grateful.
-->The Reward<--I cant give u to much for this except a sincer thanks and reputation points if u have.
------
-->Something else to think about<--Dont think this would be possible but trying never kills anyone.If someone knows a way to set something for a spell from a variable defined in triggers then let me know it would mean a lot for my project.For example if i could in the box for stats - cooldown write instead of a fixed number like 10 or 20 something that would take the value everytime that my spell is triggerd from a variable x that i could change in the triggers menu.Same goes for damage or text or other things that could change for a spell or intem during the game.It would mean a lot for my project if it where to be possible.
------
-->The Problem<--I cant get some spells (like life drain or lumber harvest->from wisps) to allow other targets then normal.For example if i try to target an allied unit with life drain, and i set the targets allow to : Ground, Player units, Friend; it would say that i must target an enemy unit, and if i target an enemy it say's i have to target an allied...Same problem with harvest.
I think it has something to do with the presets of the game, and i'll be grateful if someone could clear this thing up for me.And, if u could direct me to a good tutorial on how do spells work in detail then i would be ever so grateful.
-->The Reward<--I cant give u to much for this except a sincer thanks and reputation points if u have.
------
-->Something else to think about<--Dont think this would be possible but trying never kills anyone.If someone knows a way to set something for a spell from a variable defined in triggers then let me know it would mean a lot for my project.For example if i could in the box for stats - cooldown write instead of a fixed number like 10 or 20 something that would take the value everytime that my spell is triggerd from a variable x that i could change in the triggers menu.Same goes for damage or text or other things that could change for a spell or intem during the game.It would mean a lot for my project if it where to be possible.