IsBusy()
仲間が忙しいかどうか調べます。
int IsBusy();
Description
仲間が戦闘中または別の動作中で忙しいかどうかを調べます。
Remarks
これは、他のassociate関数によって設定されたローカル整数を調べます。SetIsBusyはヘンチマンを(開錠中のような)ビジー状態に設定するために使うことが出来ます。
Requirements
#include "nw_i0_assoc"
Version
1.22
Example
// 1.24 source for this function
int IsBusy()
{
// * if no valid attack targets then I am not in combat
if (GetIsObjectValid(GetAttackTarget()) == FALSE && GetIsObjectValid(GetAttemptedAttackTarget()) == FALSE && GetLocalInt(OBJECT_SELF,"NW_ASSOCAMIBUSY") == FALSE)
{
return FALSE;
}
return TRUE;
}
See Also
| functions: | SetIsBusy |
| categories: | Henchmen/Familiars/Summoned Functions |
author: Tom Cassiotis, JP team: Rainie
Send comments on this topic.