GetTrapBaseType(object)

罠の型(例:霜、スパイクなど)を調べます。

int GetTrapBaseType(
    object oTrapObject
);

Parameters

oTrapObject

配置可能オブジェクト、ドアやトリガー。


Description

oTrapObjectの基本型(TRAP_BASE_TYPE_*)を返します。



Version

1.22

See Also

functions: GetIsTrapped | GetLastTrapDetected | GetNearestTrapToObject | GetTrapCreator | GetTrapDetectable | GetTrapDetectDC | GetTrapDetectedBy | GetTrapDisarmable | GetTrapDisarmDC | GetTrapFlagged | GetTrapKeyTag | GetTrapOneShot | SetTrapDetectedBy | SetTrapDisabled
categories: Traps Functions
constants: TRAP_BASE_TYPE_* Constants
events: OnDisarm Event | OnTrapTriggered Event


author: Jody Fletcher, JP team: katsu794
Send comments on this topic.