Quote:
Originally Posted by Seich
Thank you, that's great, I didn't know that I could store arrays in flags, well I simply never tried that.
I still have one question, how can I use a dynamic flag name? like on my example with the number or, that isn't possible?
|
PHP Code:
this.(@ "foo_" @ s) = var;
(@ "this." @ s @ "_foo") = var;
findNPC("NPC").(@ "foo_" @ s) = var;
// You can also use makevar, but the above way is generally preferred:
makevar("this.foo_" @ s) = var;