User talk:QQuix/Array sample code

From the Oblivion ConstructionSet Wiki
< User talk:QQuix
Revision as of 01:52, 25 May 2009 by imported>Kyoma (New page: == More levels == I take it I can add more levels by making more activators and expanding this part? if xSelf == aaqqArrayDump ... elseif xSelf == aaqqArrayDumpL1 ... elseif xSelf == ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

More levels

I take it I can add more levels by making more activators and expanding this part?

if xSelf == aaqqArrayDump
...
elseif xSelf == aaqqArrayDumpL1
...
elseif xSelf == aaqqArrayDumpL2
...
elseif xSelf == aaqqArrayDumpL3
...
elseif xSelf == aaqqArrayDumpL4
...
elseif xSelf == aaqqArrayDumpL5
...
elseif xSelf == aaqqArrayDumpL6
...
elseif xSelf == aaqqArrayDumpL7
...
etc.
endif

A small suggestion, a way to limit the nesting depth for certain arrays. It's not a problem for me to add but others might find that useful aswell. Oh and great work ofcourse! Kyoma 02:52, 25 May 2009 (EDT)