GetGold(object)
クリーチャーが所有するゴールドの量を得ます。
int GetGold( object oTarget = OBJECT_SELF );
Parameters
oTarget
所有額を調べたいクリーチャー。(デフォルト:OBJECT_SELF)
Description
oTargetの所有金額を返します。
Version
1.22
Example
// 話し手が100gp以上持っていた場合のみ
// Conversationの文章を話す。
int StartingConditional()
{
int iResult;
iResult = (GetGold(GetPCSpeaker()) >= 100);
return iResult;
}
See Also
| functions: | GiveGoldToCreature | HasGold |
| categories: | Money Functions |
author: Tom Cassiotis, editor: Kristian Markon, JP team: Rainie
Send comments on this topic.