Difference between revisions of "HasSpell Uses"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Egypt9
(Working on a project invovling a large scale reality replication device and an emmersive quest. Very interested to learn more about scripting.)
 
imported>Egypt9
(Removing all content from page)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Greetings! I need to make a script in which a container decides what to do based on whether or not the player has a certain spell. I have been using "player.HasSpell == 1" but I'm not sure this is what i should be doing. The description for HasSpell says it returns true, (i'm assuming 1) should I set it in a variable first? and if so, is it logical to use a statement like "player.HasSpell != 1"?
 
[[Category:Questions]]

Latest revision as of 06:08, 19 January 2008