C# Класс ACR_Traps.CreateTraps

Наследование: CLRScriptFramework.CLRScriptBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GenericDamage ( CLRScriptBase script, NWScript.NWScriptEngineStructure2 location, TriggerArea triggerArea, int effectArea, float effectSize, int damageType, int diceNumber, int diceType, int saveDC, int attackBonus, int numberOfShots, uint trapOrigin, int targetAlignment, int targetRace, int minimumToTrigger, int detectDC, int disarmDC, string description ) : void
Spell ( CLRScriptBase script, NWScript.NWScriptEngineStructure2 location, TriggerArea triggerArea, int spellId, int numberOfShots, uint trapOrigin, int targetAlignment, int targetRace, int minimumToTrigger, int detectDC, int disarmDC, string description ) : void

Приватные методы

Метод Описание
GetNearestTrapEmitter ( CLRScriptBase script, NWScript.NWScriptEngineStructure2 loc ) : uint
detectSuffix ( ) : string
triggerAreaToAreaOfEffect ( TriggerArea triggerArea ) : int

This method turns a TriggerArea value into a constant that can be used for the trap trigger.

triggerAreaToDetectArea ( TriggerArea triggerArea ) : int

This method turns a TriggerArea value into a constant that can be used for a trap's detection area.

triggerAreaToTrapVFX ( TriggerArea triggerArea ) : string

This method gets the name of a trap-placement VFX that is appropriate for the trap to be spawned.

uniqueTrapTag ( ) : string

Описание методов

GenericDamage() публичный статический Метод

public static GenericDamage ( CLRScriptBase script, NWScript.NWScriptEngineStructure2 location, TriggerArea triggerArea, int effectArea, float effectSize, int damageType, int diceNumber, int diceType, int saveDC, int attackBonus, int numberOfShots, uint trapOrigin, int targetAlignment, int targetRace, int minimumToTrigger, int detectDC, int disarmDC, string description ) : void
script CLRScriptFramework.CLRScriptBase
location NWScript.NWScriptEngineStructure2
triggerArea TriggerArea
effectArea int
effectSize float
damageType int
diceNumber int
diceType int
saveDC int
attackBonus int
numberOfShots int
trapOrigin uint
targetAlignment int
targetRace int
minimumToTrigger int
detectDC int
disarmDC int
description string
Результат void

Spell() публичный статический Метод

public static Spell ( CLRScriptBase script, NWScript.NWScriptEngineStructure2 location, TriggerArea triggerArea, int spellId, int numberOfShots, uint trapOrigin, int targetAlignment, int targetRace, int minimumToTrigger, int detectDC, int disarmDC, string description ) : void
script CLRScriptFramework.CLRScriptBase
location NWScript.NWScriptEngineStructure2
triggerArea TriggerArea
spellId int
numberOfShots int
trapOrigin uint
targetAlignment int
targetRace int
minimumToTrigger int
detectDC int
disarmDC int
description string
Результат void