Difference between revisions of "Category talk:Scripting"

Jump to navigation Jump to search
356 bytes added ,  18:58, 10 July 2006
imported>Scruggs
imported>DragoonWraith
Line 18: Line 18:
:::[[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.
::::[[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.
 
:::::[[User:DragoonWraith|<font face="Oblivion,Daedric" size=3>D</font>ragoon <font face="Oblivion,Daedric" size=3>W</font>raith]] [[User_talk:DragoonWraith|<font face="Oblivion,Daedric" size=2>TALK</font>]] 19:58, 10 July 2006 (EDT): I actually do have ways around it, but since I'm not sure how that would work... how would you use [[Say]]?


== If / Elseif / Else explanation ==
== If / Elseif / Else explanation ==

Navigation menu