GetAge(object)
クリーチャーの年齢を取得します。
int GetAge( object oCreature );
Parameters
oCreature
年齢を取得したいクリーチャー。
Description
指定したクリーチャーの年齢を返します。
もし無効なクリーチャーの場合は0を返します。
Version
1.22
Example
int TrustCreature(object oCreature)
{
if (GetAge(oCreature) >= 30)
return FALSE; // Over 30 Can't be trusted.
return TRUE;
}
See Also
| functions: | SetCalendar |
| categories: | Get Data from Creature Functions |
author: Tom Cassiotis JP team: marshall
Send comments on this topic.