Nyph
Occasional News Reader
- Reaction score
- 87
Im working on a small-ish project and i need a system to create a spell by saying -csp <spellcode>,<numberofeffects>,<spelleffect1>,<spelleffect1intensity>,<spelleffect#>,<spelleffect#intensity>
I have a system for doing the effects but i don't have a very good idea on how
to do the saving of variables through substrings.
I've tried heaps of stuff on it in the last couple of hours but i can't find how to get an integer from a substring.
Can anyone help me here? I want to do it without jass and i dont care how much custom script i use.
I have a system for doing the effects but i don't have a very good idea on how
to do the saving of variables through substrings.
I've tried heaps of stuff on it in the last couple of hours but i can't find how to get an integer from a substring.
Can anyone help me here? I want to do it without jass and i dont care how much custom script i use.