1,482
edits
No edit summary |
m (Convert source tags to syntaxhighlight) |
||
| Line 6: | Line 6: | ||
== Syntax == | == Syntax == | ||
< | <syntaxhighlight lang="papyrus"> | ||
bool Function HasKeyword(Keyword akKeyword) native | bool Function HasKeyword(Keyword akKeyword) native | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
| Line 17: | Line 17: | ||
== Examples == | == Examples == | ||
< | <syntaxhighlight lang="papyrus"> | ||
ScriptName ExampleScript Extends ObjectReference | ScriptName ExampleScript Extends ObjectReference | ||
| Line 46: | Line 46: | ||
debug.trace("Is this location a house?: " +CurrentLocationHasKeyword(Game.GetPlayer(), LocTypeHouse)) | debug.trace("Is this location a house?: " +CurrentLocationHasKeyword(Game.GetPlayer(), LocTypeHouse)) | ||
</ | </syntaxhighlight> | ||
== Notes == | == Notes == | ||