Difference between revisions of "Category talk:Scripting"

Jump to navigation Jump to search
499 bytes added ,  18:30, 10 July 2006
no edit summary
imported>ShadowDancer
(Script limit, possible answer?)
imported>Scruggs
Line 17: Line 17:


:::[[User:ShadowDancer|ShadowDancer]] 20:57, 4 July 2006 (EDT): I wonder if its Characters (with spaces)?  It seems to me that this number is close to 32,767 and might be a memory limit maybe with filesize overhead?
:::[[User:ShadowDancer|ShadowDancer]] 20:57, 4 July 2006 (EDT): I wonder if its Characters (with spaces)?  It seems to me that this number is close to 32,767 and might be a memory limit maybe with filesize overhead?
::::[[User:Scruggs|Scruggs]] 19:30, 10 July 2006 (EDT) I would think it would be a limit of the ''compiled'' script, not the actual text, but i can't say that for sure. If you want to reduce the size of a script, though, you can transfer some of your if blocks into quest stages or dialog topics, setting up the conditions to do the work for you. Then just call setStage or Say to run the conditions. Say is useful when you need the results to run on the calling actor, which setStage won't allow.


== If / Elseif / Else explanation ==
== If / Elseif / Else explanation ==
Anonymous user

Navigation menu