- Joined
- Mar 27, 2008
- Messages
- 8,035
Hello there, yesterday I have downloaded the famous JNGP to learn JASS way because I want to improve (slowly). Everything is going according to plan (I did some function calls, local variable, etc). I was planning to convert my trigger method from GUI to JASS slowly (as I mentioned before). Slowly means, at the same time, I am learning JASS and slowly taking a small portion of GUI method into JASS (to get used to it). Until the problem comes in... As usual, my current method is using hashtable (doesn't prefer indexing, don't ask, don't argue) and if I use hashtable method, surely I want to save each of the Handle ID by using Integer (every unit has its own Handle ID, which is unique and from this, we can make it MUI-type trigger).
As usual, if we want to save Handle ID, we use this:
However, with the JASS support installed in my WE, I can no longer use that function, and the words came up was...
"No variables of this type defined", ONLY that. I was like "wtf?". All I want is the "Function:" that starts with the "Hashtable - Load Player Handle" but that option suddenly disappears from the list of command in GUI. Is this normal ? Or I had installed it, wrongly ?
My main purpose is to keep JASS support installed in my WE, and at the same time, I am doing GUI stuff. After doing it, I'll convert the GUI stuff into custom text to get a better understanding of the current functions and nulling stuff. That's all I want until suddenly, I can't save my Handle ID in (Key (Triggering unit)), that option suddenly... disappeared.
As usual, if we want to save Handle ID, we use this:
-
Set HandleID = (Key (Triggering unit))
However, with the JASS support installed in my WE, I can no longer use that function, and the words came up was...
"No variables of this type defined", ONLY that. I was like "wtf?". All I want is the "Function:" that starts with the "Hashtable - Load Player Handle" but that option suddenly disappears from the list of command in GUI. Is this normal ? Or I had installed it, wrongly ?
My main purpose is to keep JASS support installed in my WE, and at the same time, I am doing GUI stuff. After doing it, I'll convert the GUI stuff into custom text to get a better understanding of the current functions and nulling stuff. That's all I want until suddenly, I can't save my Handle ID in (Key (Triggering unit)), that option suddenly... disappeared.