Difference between revisions of "Category talk:Editing Dialogue"

no edit summary
imported>Blade9722
imported>Thorskin
 
Line 130: Line 130:


--[[User:Blade9722|Blade9722]] 09:48, 28 January 2007 (EST) (EDT)
--[[User:Blade9722|Blade9722]] 09:48, 28 January 2007 (EST) (EDT)
== Result Scripts and Conditions ==
It seems that the game is checking the conditions after the execution of each line in the result scripts. If a line changes the conditions to false, then the remaining lines will not run.
For instance :
condition :
( run on target ) GetItemCount MyItem == 0
result script :
player.AddItem MyItem 1
player.EquipItem MyItem 1
after the first line, the condition turns to false ; The item will not be equipped because the next line will not run.
--[[User:Thorskin|Thorskin]] 22 may 2008
Anonymous user