- Joined
- Jun 18, 2004
- Messages
- 136
After a LONG time being absorbed by WoW i have decided to come back to modding Wc3, and along with that, learn JASS as well. Im not familiar with the scripting language, but i do understand variables and whatnot, as i am in the process of learing C++ as well.
Im making this thing that using JASS tells the owner of a dying unit that the unit has died and what type of unit it is.
e.g. When a sorceress owned by player red dies the game tell red: "Your unit, a SORCERESS, has died."
But when i try to do the script it errors and disables and a couple of the 3 reasons are "invalid number of arguments". I try to fix these, but Nomatter what i cant get it to work.
So my question is: What is an argument and what does it mean that there are an ivalid number of them?
P.S., If you need the code, i can give it to you. Its not complete but there is enough in it for it to run in a basic form, IF i could fix the argument problem.
Thanks,
With Regards,
AlphaChicken
Im making this thing that using JASS tells the owner of a dying unit that the unit has died and what type of unit it is.
e.g. When a sorceress owned by player red dies the game tell red: "Your unit, a SORCERESS, has died."
But when i try to do the script it errors and disables and a couple of the 3 reasons are "invalid number of arguments". I try to fix these, but Nomatter what i cant get it to work.
So my question is: What is an argument and what does it mean that there are an ivalid number of them?
P.S., If you need the code, i can give it to you. Its not complete but there is enough in it for it to run in a basic form, IF i could fix the argument problem.
Thanks,
With Regards,
AlphaChicken