Difference between revisions of "Talk:SetStage"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(First stage is the Current stage?)
imported>Haama
(Nevermind)
Line 1: Line 1:
[[User:DragoonWraith|<font face="Oblivion,Daedric Runes" 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>]] 13:05, 31 July 2006 (EDT): Does SetStage accept variables as an argument?
[[User:DragoonWraith|<font face="Oblivion,Daedric Runes" 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>]] 13:05, 31 July 2006 (EDT): Does SetStage accept variables as an argument?
: Yes, just like (nearly?) every OB function, it will take a variable for any numerical parameter. What's more interesting is that a script that stores a questID in a ref variable and then calls '''setStage refVar stageVar''' works perfectly in the game. Seems reference variables can store pointers to base objects as well. Cool! [[User:Scruggs|Scruggs]] 19:46, 31 July 2006 (EDT)
: Yes, just like (nearly?) every OB function, it will take a variable for any numerical parameter. What's more interesting is that a script that stores a questID in a ref variable and then calls '''setStage refVar stageVar''' works perfectly in the game. Seems reference variables can store pointers to base objects as well. Cool! [[User:Scruggs|Scruggs]] 19:46, 31 July 2006 (EDT)
It seems that, if one stage is called from another stage, that the first calling stage will end up being the current stage (if 'Repeat Quest Stages' is checked, I would imagine). Can anyone verify this?<br>
--[[User:Haama|Haama]] 19:50, 9 August 2007 (EDT)

Revision as of 21:56, 9 August 2007

Dragoon Wraith TALK 13:05, 31 July 2006 (EDT): Does SetStage accept variables as an argument?

Yes, just like (nearly?) every OB function, it will take a variable for any numerical parameter. What's more interesting is that a script that stores a questID in a ref variable and then calls setStage refVar stageVar works perfectly in the game. Seems reference variables can store pointers to base objects as well. Cool! Scruggs 19:46, 31 July 2006 (EDT)