Difference between revisions of "Talk:SetStage"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Install usage)
imported>Dr.Phil
(Using variables or not?)
Line 5: Line 5:


You can use any other script type to tell if something has been installed, so the note has been removed.--[[User:Haama|Haama]] 11:00, 9 February 2008 (EST)
You can use any other script type to tell if something has been installed, so the note has been removed.--[[User:Haama|Haama]] 11:00, 9 February 2008 (EST)
== Using variables or not? ==
I've not been able to use a variable to set the Quest stage.
Is there anyway to bypass this problem, or is the only way to use a very long list of elseif's?
Anything in OBSE?
--[[User:Dr.Phil|DrPhil]] 08:19, 1 April 2009 (EDT)

Revision as of 07:19, 1 April 2009

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)

Install usage

You can use any other script type to tell if something has been installed, so the note has been removed.--Haama 11:00, 9 February 2008 (EST)

Using variables or not?

I've not been able to use a variable to set the Quest stage. Is there anyway to bypass this problem, or is the only way to use a very long list of elseif's? Anything in OBSE? --DrPhil 08:19, 1 April 2009 (EDT)