Hi,
What is _realm_iter
I see it in the distro with moongates and the decay system, but don't see it defined anywhere.
Thanks in advance
_realm_iter
Moderator: POL Developer
_(var)_iter is a variable you get inside a foreach loop that tells you where you are in it.
foreach tom in (array)
_tom_iter would give you a number and tom would be the value of that index
foreach entry in (dictionary)
_entry_iter would give you the key name you're using and entry would be the value.
foreach tom in (array)
_tom_iter would give you a number and tom would be the value of that index
foreach entry in (dictionary)
_entry_iter would give you the key name you're using and entry would be the value.
Its existed inside of POL for a very, very long time.
It was changed slightly in 095 and was documented.
I think its also noted in an updated version of Racalac's script guide.
Its been discussed on the POL forums numerous times.
*Its been used in distro scripts for a while.
* Most learn from looking at other scripts than any other resource.
It was changed slightly in 095 and was documented.
I think its also noted in an updated version of Racalac's script guide.
Its been discussed on the POL forums numerous times.
*Its been used in distro scripts for a while.
* Most learn from looking at other scripts than any other resource.