O Ilusionista
Captain 100K
I have a code when I will manipulate "hmapl" and "hmapu" by script, to give more palettes to a player.
The code already work (as I can track using drawstings) but I can't find where I should activate it.
(mapLow and mapHigh are variables got in other part of the coding and they are working)
I already tried:
- onspawnscript
- updatescript
- join1.c
and nothing works. Where I should need to apply this code to make it work?
Also, you can "get" and "change" entityproperty "hmap", but you can only "get" playerproperty "hmap" - if you try changing it, you get an exception warning.
Is the playerproperty a read only value?
The code already work (as I can track using drawstings) but I can't find where I should activate it.
C-like:
changeentityproperty(self,"hmapl",mapLow);
changeentityproperty(self,"hmapu",mapHigh);
I already tried:
- onspawnscript
- updatescript
- join1.c
and nothing works. Where I should need to apply this code to make it work?
Also, you can "get" and "change" entityproperty "hmap", but you can only "get" playerproperty "hmap" - if you try changing it, you get an exception warning.
Is the playerproperty a read only value?