71
edits
imported>Lisselli m (→Examples) |
|||
Line 47: | Line 47: | ||
debug.trace("Is this location a house?: " +CurrentLocationHasKeyword(Game.GetPlayer(), LocTypeHouse)) | debug.trace("Is this location a house?: " +CurrentLocationHasKeyword(Game.GetPlayer(), LocTypeHouse)) | ||
</source> | </source> | ||
== Notes == | |||
* If run on a Spell, this function checks all attached magic effects, and returns true if at least one magic effect has a specified keyword. | |||
* If run on an Ingredient or a Potion, this function '''does not''' checks attached magic effects, only the record itself. | |||
== See Also == | == See Also == | ||
*[[Form Script]] | *[[Form Script]] |
edits