トップ 新規 差分 一覧 ソース 検索 ヘルプ PDF RSS ログイン

categoryfunction.miscellaneous

掲示板(停止中) | About | Reference | Lyceum(スクリプト入門) | Resources | Contributors | LexiconJP-OLD | NWN Builders

Miscellaneous Function Category

Functions that don't fit into any other category.

Functions

NameBrief Description
ActionExamineExamine an object
ActionWaitAdds a wait action to an objects queue.
BootPCAbruptly kicks a player off a multi-player server.
CopyObjectDuplicates the object specified.
d10Rolls a 10-sided die.
d100Rolls a 100-sided die.
d12Rolls a 12-sided die.
d2Rolls a 2-sided die (or flips a coin).
d20Rolls a 20-sided die.
d3Rolls a 3-sided die.
d4Rolls a 4-sided die.
d6Rolls a 6-sided die.
d8Rolls an 8-sided die.
DrinkIt?Makes a creature speak a string that signifies they drank alcohol.
ExecuteScript?Cause a script to execute.
ExportSingleCharacter指定したプレイヤーのキャラクターをそれに対応したフォルダ(例、ローカルヴォルト、サーバーヴォルト)へと書き出します。
GetActionModeCheck if a creature is using a given action mode
GetAngleBetweenLocationsReturns a float representing the angle between Location One and Location Two
GetAssassinHeadGets the tag of the Assassins head object used in a plot in the official release game.
GetChangedPositionConvenience function that returns a vector that is fDistance away in fAngle direction
GetChangeInXConvinence function to calculate the change in the X axis
GetChangeInYConvenience function that calculates teh change in the Y axis to the target
GetCustomLeftDirectionThis function returns a normalized number that is the sum of the current facing and the angle to target
GetCustomRightDirectionThis returns a float that is a normalized remainder of fDirection - fAngle
GetFarLeftDirectionThis function returns a normalized number that is +135 from the current facing
GetFarRightDirectionReturns a normalized number that is -135 from the current facing
GetFirstInPersistentObjectDetermines the first object of a specific type that is inside a persistent object.
GetFirstObjectInShapeシェイプ(shape)内の指定タイプ(クリーチャー、ドア等)の最初のobjectを得ます。
GetGameDifficultyDetermines the game difficulty setting.
GetHalfLeftDirection?This function returns a number that is +45 degrees from the current facing
GetHalfRightDirection?Returns a normalized value that is -45 from fDirection
GetIsDeadDetermines if a creature is dead or dying.
GetIsEnemy?Determines whether a creature considers another creature an enemy.
GetIsImmuneDetermines whether a creature has a specific immunity.
GetIsNeutralCheck whether a creature considers another creature to be neutral to them.
GetItemCursedFlagChecks if an item is cursed
GetLastPCRestedReturns the last PC that rested.
GetLastRespawnButtonPresserGets the last PC that clicked the Respawn button.
GetLeftDirection?This function returns a float representing a direction +90 degrees
GetMyMasterGets the nearest Player Character to the calling object.
GetNextInPersistentObjectDetermines the nextobject of a specific type that is inside a persistent object.
GetNextObjectInShapeシェイプ(shape)内の指定タイプ(クリーチャー、ドア等)の次のobjectを得ます。
GetNormalizedDirectionThis function returns a float that is constrained from 0 - 360
GetOppositeDirectionReturns a normalized direction that is -180 from fDirection
GetPositionFromLocation?Returns the vector part of a location.
GetRightDirectionReturns a normalized float that is -90 from the facing passed in
GetStoreGold?Returns the amount of gold a store currently has
GetStoreIdentifyCost?Determines how much a store charges to identify items
GetStoreMaxBuyPrice?Gets the maximum amount a store will pay for any item
GetUserDefinedEventNumberDetermines the specific user-defined number that has been sent to it.
GiveRingToPlayer?Creates a plot ring and places it in a players inventory.
gplotAppraiseOpenStore?Opens a store using the appraise skill
OpenStore?Opens a store for PCs to barter.
PopUpGUIPanelDisplays a GUI panel to a player.
PrintStringRecords a message to the log file.
RandomName?Generates a random name.
RestoreCameraFacingRestores the camera mode and facing.
SetActionModeSets the status of an action mode on a creature
SetAreaTransitionBMPSets the graphic shown when a PC moves between two different areas in a module.
SetCameraFacingChanges the direction the player's camera is facing.
SetCameraHeightSets the camera to a certain height
SetCameraModeChanges the perspective view of the player on the screen.
SetCommandableMakes NPC available for new instructions.
SetCustomTokenSets the value for a custom token.
SetDeitySet the deity of a creature or PC
SetDroppableFlagMarks an item as droppable or undroppable.
SetImmortalSets a creature as immortal.
SetItemCursedFlag?Sets whether an item is cursed or not
SetMapPinEnabled?Enable a map pin.
SetPlotFlagSets an object's plot status.
SetStoreGold?Sets the amount of gold a store has
SetStoreIdentifyCostSet how much a store charges to identify items
SetStoreMaxBuyPrice?Sets the maximum amount a store will pay for any item
SetSubRaceSets or changes a creature's or PC's subrace
SignalEventCauses an object to fire a specified event.
StoreCameraFacingStores the camera facing and position so it can be restored later.
TakeArtifactItemRemoves the plot related item from a player's inventory.
TakeFetchItemRemoves the plot related item from a player's inventory.

See Also

Function Categories