Difference between revisions of "HasSpell Uses"
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 |
||
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 | 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" and "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? | ||
[[Category:Questions]] | [[Category:Questions]] |
Revision as of 04:36, 19 January 2008
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" and "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?