GetTag(object)

objectのタグを取得します

string GetTag(
    object oObject
);

Parameters

oObject

対象のobject


Description

oObjectのタグを返します。oObjectが有効でない場合は空白の文字列を返します。



Version

1.22

Example

void main()
{
    string sTag = GetTag(OBJECT_SELF);
    object oSelf = GetObjectByTag(sTag);
}

See Also

functions: GetLastWeaponUsed | GetObjectByTag
categories: Get Data from Object Functions


author: Daniel Beckman, editor: Lilac Soul, JP team: geshi, Rainie
Send comments on this topic.