Documentation
¶
Overview ¶
Package ns implements NoxScript 3 originally used in Nox maps.
Names of functions are synchronized with the latest NoxScript implementation: https://noxtools.github.io/noxscript/. Thus, most functions are drop-in replacements.
Package provides additional type safety by using named types, booleans, etc. It does not expose object-oriented APIs which are typical to Go.
See NS4 for object-oriented API: https://pkg.go.dev/github.com/noxworld-dev/noxscript/ns/v4.
Index ¶
- Constants
- func AggressionLevel(id ObjectID, level float32)
- func Attack(id ObjectID, target ObjectID)
- func AudioEvent(name AudioName, wp WaypointID)
- func AutoSave()
- func AwardSpell(id ObjectID, spellID Spell) bool
- func BecomeEnemy(id ObjectID)
- func BecomePet(id ObjectID)
- func Blind()
- func CancelDialog(id ObjectID)
- func CancelTimer(id TimerID) bool
- func CastSpellLocationLocation(spellID Spell, x1, y1, x2, y2 float32)
- func CastSpellLocationObject(spellID Spell, x, y float32, target ObjectID)
- func CastSpellObjectLocation(spellID Spell, source ObjectID, x, y float32)
- func CastSpellObjectObject(spellID Spell, source ObjectID, target ObjectID)
- func ChangeGold(id ObjectID, delta int)
- func ChangeScore(id ObjectID, score int)
- func Chat(id ObjectID, message string)
- func ChatTimer(id ObjectID, message string, duration int)
- func ChatTimerSeconds(id ObjectID, message string, duration int)
- func ClearMessages(id ObjectID)
- func ClearOwner(id ObjectID)
- func CreatureFollow(id ObjectID, target ObjectID)
- func CreatureGroupFollow(objectGroup ObjectGroupID, target ObjectID)
- func CreatureGroupGuard(objectGroup ObjectGroupID, x1, y1, x2, y2 float32, distance float32)
- func CreatureGroupHunt(objectGroup ObjectGroupID)
- func CreatureGroupIdle(objectGroup ObjectGroupID)
- func CreatureGuard(id ObjectID, x1, y1, x2, y2 float32, distance float32)
- func CreatureHunt(id ObjectID)
- func CreatureIdle(id ObjectID)
- func CurrentHealth(id ObjectID) int
- func Damage(target ObjectID, source ObjectID, amount int, typ DamageType)
- func DeathScreen(which int)
- func Delete(id ObjectID)
- func DeleteObjectTimer(id ObjectID, delay int)
- func DestroyChat(id ObjectID)
- func DestroyEveryChat()
- func Distance(x1, y1, x2, y2 float32) float32
- func Drop(id ObjectID, item ObjectID) bool
- func Effect(effectID EffectID, x1, y1, x2, y2 float32)
- func Enchant(id ObjectID, enchantID EnchantID, duration float32)
- func EnchantOff(id ObjectID, enchantID EnchantID)
- func EndGame(typ int)
- func FloatToString(number float32) stringdeprecated
- func Frozen(id ObjectID, frozen bool)
- func GetCharacterData(idx int) intdeprecated
- func GetElevatorStatus(id ObjectID) int
- func GetGold(id ObjectID) int
- func GetObjectX(id ObjectID) float32
- func GetObjectY(id ObjectID) float32
- func GetObjectZ(id ObjectID) float32
- func GetQuestStatus(name string) int
- func GetQuestStatusFloat(name string) float32
- func GetScore(id ObjectID) int
- func GetWaypointX(waypoint WaypointID) float32
- func GetWaypointY(waypoint WaypointID) float32
- func GiveXp(id ObjectID, xp float32)
- func GoBackHome(id ObjectID)
- func GroupAggressionLevel(objectGroup ObjectGroupID, level float32)
- func GroupAttack(objectGroup ObjectGroupID, target ObjectID)
- func GroupAwardSpell(objectGroup ObjectGroupID, spellID Spell)
- func GroupCreateMover(objectGroup ObjectGroupID, waypoint WaypointID, speed float32)
- func GroupDamage(targetGroup ObjectGroupID, source ObjectID, amount int, typ DamageType)
- func GroupDelete(objectGroup ObjectGroupID)
- func GroupEnchant(id ObjectGroupID, enchantID EnchantID, duration float32)
- func GroupHitFarLocation(objectGroup ObjectGroupID, x, y float32)
- func GroupHitLocation(objectGroup ObjectGroupID, x, y float32)
- func GroupIsOwnedBy(owner ObjectID, target ObjectGroupID) bool
- func GroupIsOwnedByAny(owners ObjectGroupID, target ObjectGroupID) bool
- func GroupLookAtDirection(objectGroup ObjectGroupID, direction Direction)
- func GroupMove(objectGroup ObjectGroupID, waypoint WaypointID)
- func GroupPauseObject(objectGroup ObjectGroupID, duration int)
- func GroupResumeLevel(objectGroup ObjectGroupID, percent float32)
- func GroupRetreatLevel(objectGroup ObjectGroupID, percent float32)
- func GroupRunAway(objectGroup ObjectGroupID, target ObjectID, duration int)
- func GroupSetOwner(owner ObjectID, targets ObjectGroupID)
- func GroupSetOwners(owners ObjectGroupID, targets ObjectGroupID)
- func GroupSetRoamFlag(objectGroup ObjectGroupID, flags int)
- func GroupWalk(objectGroup ObjectGroupID, x, y float32)
- func GroupWander(objectGroup ObjectGroupID)
- func HasClass(id ObjectID, className Class) bool
- func HasEnchant(id ObjectID, enchantID EnchantID) bool
- func HasItem(holder ObjectID, item ObjectID) bool
- func HasSubclass(id ObjectID, subclassName SubClass) bool
- func HitFarLocation(id ObjectID, x, y float32)
- func HitLocation(id ObjectID, x, y float32)
- func ImmediateBlind()
- func IntToString(number int) stringdeprecated
- func IsAttackedBy(id1 ObjectID, id2 ObjectID) bool
- func IsCaller(id ObjectID) bool
- func IsCrown(id ObjectID) bool
- func IsGameBall(id ObjectID) bool
- func IsLocked(id ObjectID) bool
- func IsObjectOn(id ObjectID) bool
- func IsOwnedBy(owner ObjectID, target ObjectID) bool
- func IsOwnedByAny(owners ObjectGroupID, target ObjectID) bool
- func IsSummoned(id ObjectID) bool
- func IsTalking() bool
- func IsTrading() bool
- func IsTrigger(id ObjectID) bool
- func IsVisibleTo(object1 ObjectID, object2 ObjectID) bool
- func IsWaypointOn(waypoint WaypointID) bool
- func JournalDelete(id ObjectID, message string)
- func JournalEdit(id ObjectID, message string, typ EntryType)
- func JournalEntry(id ObjectID, message string, typ EntryType)
- func LockDoor(id ObjectID)
- func LookAtDirection(id ObjectID, direction Direction)
- func LookAtObject(id ObjectID, target ObjectID)
- func LookWithAngle(id ObjectID, angle int)
- func MakeEnemy(id ObjectID)
- func MakeFriendly(id ObjectID)
- func MaxHealth(id ObjectID) int
- func Move(id ObjectID, waypoint WaypointID)
- func MoveObject(id ObjectID, x, y float32)
- func MoveWaypoint(waypoint WaypointID, x, y float32)
- func Music(music int, volume int)
- func MusicEvent()
- func MusicPopEvent()
- func MusicPushEvent()
- func NoWallSound(noWallSound bool)
- func ObjectGroupOff(objectGroup ObjectGroupID)
- func ObjectGroupOn(objectGroup ObjectGroupID)
- func ObjectGroupToggle(objectGroup ObjectGroupID)
- func ObjectOff(id ObjectID)
- func ObjectOn(id ObjectID)
- func ObjectToggle(id ObjectID)
- func PauseObject(id ObjectID, duration int)
- func Pickup(id ObjectID, item ObjectID) bool
- func Print(message string)
- func PrintToAll(message string)
- func PushObject(id ObjectID, magnitude float32, x, y float32)
- func PushObjectTo(id ObjectID, x, y float32)
- func Raise(id ObjectID, z float32)
- func RaiseZombie(id ObjectID)
- func RaiseZombieGroup(objectGroup ObjectGroupID)
- func Random(min, max int) int
- func RandomFloat(min, max float32) float32
- func ResetQuestStatus(name string)
- func RestoreHealth(id ObjectID, amount int)
- func ResumeLevel(id ObjectID, percent float32)
- func RetreatLevel(id ObjectID, percent float32)
- func RunAway(id ObjectID, target ObjectID, duration int)
- func SetCallback(id ObjectID, idx ObjEvent, callback Func)
- func SetDialog(id ObjectID, typ DialogType, start Func, end Func)
- func SetHalberd(upgrade int)
- func SetOwner(owner ObjectID, target ObjectID)
- func SetOwners(owners ObjectGroupID, target ObjectID)
- func SetQuestStatus(status int, name string)
- func SetQuestStatusFloat(status float32, name string)
- func SetRoamFlag(id ObjectID, flags int)
- func SetShopkeeperText(id ObjectID, text string)
- func StartDialog(npc ObjectID, other ObjectID)
- func StartupScreen(which int)
- func StopScript(value any)
- func StoryPic(id ObjectID, name string)
- func TellStory(audioID AudioName, story string)
- func TrapSpells(id ObjectID, spell1, spell2, spell3 string)
- func UnBlind()
- func Unknownb8(id int) booldeprecated
- func Unknownb9(id int) booldeprecated
- func Unknownc4()deprecated
- func UnlockDoor(id ObjectID)
- func Unused1f(id int)deprecated
- func Unused20(id int)deprecated
- func Unused50()deprecated
- func Unused58(arg1 int, arg2 int)deprecated
- func Unused59(arg1 int, arg2 int)deprecated
- func Unused5a(arg1 int, arg2 int)deprecated
- func Unused5b(arg1 int, arg2 int)deprecated
- func Unused5c(arg1 int, arg2 int)deprecated
- func Unused5d(arg1 int, arg2 int)deprecated
- func Unused5e(str string) intdeprecated
- func Unused74(arg1 int, arg2 int)deprecated
- func Walk(id ObjectID, x, y float32)
- func WallBreak(wall WallID)
- func WallClose(wall WallID)
- func WallGroupBreak(g WallGroupID)
- func WallGroupClose(g WallGroupID)
- func WallGroupOpen(g WallGroupID)
- func WallGroupToggle(g WallGroupID)
- func WallOpen(wall WallID)
- func WallToggle(wall WallID)
- func Wander(id ObjectID)
- func WayPointGroupOff(waypointGroup WaypointGroupID)
- func WayPointGroupOn(waypointGroup WaypointGroupID)
- func WayPointGroupToggle(waypointGroup WaypointGroupID)
- func WayPointOff(waypoint WaypointID)
- func WayPointOn(waypoint WaypointID)
- func WayPointToggle(waypoint WaypointID)
- func WideScreen(value bool)
- func ZombieGroupStayDown(objectGroup ObjectGroupID)
- func ZombieStayDown(id ObjectID)
- type Answer
- type AudioName
- type Class
- type DamageType
- type DialogType
- type Direction
- type EffectID
- type EnchantID
- type EntryType
- type Func
- type Handle
- type ObjEvent
- type ObjectGroupID
- type ObjectID
- func CreateMover(id ObjectID, waypoint WaypointID, speed float32) ObjectID
- func CreateObject(typ string, waypoint WaypointID) ObjectID
- func GetCaller() ObjectID
- func GetHolder(item ObjectID) ObjectID
- func GetHost() ObjectID
- func GetLastItem(id ObjectID) ObjectID
- func GetPreviousItem(id ObjectID) ObjectID
- func GetTrigger() ObjectID
- func Object(name string) ObjectID
- type Spell
- type SubClass
- type TimerID
- type WallGroupID
- type WallID
- type WaypointGroupID
- type WaypointID
Constants ¶
const ( AnchorCast = "AnchorCast" AnchorOn = "AnchorOn" AnchorOff = "AnchorOff" BlindCast = "BlindCast" BlindOn = "BlindOn" BlindOff = "BlindOff" BlinkCast = "BlinkCast" BurnCast = "BurnCast" CleansingFlameCast = "CleansingFlameCast" ChannelLifeCast = "ChannelLifeCast" ChannelLifeEffect = "ChannelLifeEffect" ChannelLifeStop = "ChannelLifeStop" CancelCast = "CancelCast" CharmCast = "CharmCast" CharmSuccess = "CharmSuccess" CharmFailure = "CharmFailure" ConfuseCast = "ConfuseCast" ConfuseOn = "ConfuseOn" ConfuseOff = "ConfuseOff" CounterspellCast = "CounterspellCast" CurePoisonCast = "CurePoisonCast" CurePoisonEffect = "CurePoisonEffect" DeathCast = "DeathCast" DeathOn = "DeathOn" DeathOff = "DeathOff" DeathTimer = "DeathTimer" DeathRayCast = "DeathRayCast" DemonBreath = "DemonBreath" DetonateGlyphCast = "DetonateGlyphCast" DrainManaCast = "DrainManaCast" EarthquakeCast = "EarthquakeCast" EnergyBoltCast = "EnergyBoltCast" FearCast = "FearCast" FearOn = "FearOn" FearOff = "FearOff" ForceOfNatureCast = "ForceOfNatureCast" ForceOfNatureReflect = "ForceOfNatureReflect" ForceOfNatureRelease = "ForceOfNatureRelease" GlyphCast = "GlyphCast" GlyphDetonate = "GlyphDetonate" FireballCast = "FireballCast" FireballExplode = "FireballExplode" FireBallExplode = "FireBallExplode" FirewalkCast = "FirewalkCast" FirewalkOn = "FirewalkOn" FirewalkOff = "FirewalkOff" FirewalkFlame = "FirewalkFlame" FistCast = "FistCast" FistHit = "FistHit" ForceFieldCast = "ForceFieldCast" FrostCast = "FrostCast" FrostOn = "FrostOn" FrostOff = "FrostOff" FumbleCast = "FumbleCast" FumbleEffect = "FumbleEffect" GreaterHealCast = "GreaterHealCast" GreaterHealEffect = "GreaterHealEffect" GreaterHealStop = "GreaterHealStop" HasteCast = "HasteCast" HasteOn = "HasteOn" HasteOff = "HasteOff" HugeFoot = "HugeFoot" InfravisionCast = "InfravisionCast" InfravisionOn = "InfravisionOn" InfraVisionOff = "InfraVisionOff" InversionCast = "InversionCast" InvisibilityCast = "InvisibilityCast" InvisibilityOn = "InvisibilityOn" InvisibilityOff = "InvisibilityOff" InvulnerabilityCast = "InvulnerabilityCast" InvulnerabilityOn = "InvulnerabilityOn" InvulnerabilityOff = "InvulnerabilityOff" InvulnerableEffect = "InvulnerableEffect" LesserHealCast = "LesserHealCast" LesserHealEffect = "LesserHealEffect" LightCast = "LightCast" LightOn = "LightOn" LightOff = "LightOff" LightningBolt = "LightningBolt" LightningCast = "LightningCast" LockCast = "LockCast" ManaBombCast = "ManaBombCast" ManaBombEffect = "ManaBombEffect" MarkCast = "MarkCast" MagicMissileCast = "MagicMissileCast" MagicMissileDetonate = "MagicMissileDetonate" MeteorCast = "MeteorCast" MeteorShowerCast = "MeteorShowerCast" MeteorHit = "MeteorHit" MoonglowCast = "MoonglowCast" MoonglowOn = "MoonglowOn" MoonglowOff = "MoonglowOff" NullifyCast = "NullifyCast" NullifyOn = "NullifyOn" NullifyOff = "NullifyOff" PhantomCast = "PhantomCast" PixieSwarmCast = "PixieSwarmCast" PixieHit = "PixieHit" PlasmaCast = "PlasmaCast" PoisonCast = "PoisonCast" PoisonEffect = "PoisonEffect" PressurePlateRelease = "PressurePlateRelease" ProtectionFromFireCast = "ProtectionFromFireCast" ProtectionFromFireOn = "ProtectionFromFireOn" ProtectionFromFireOff = "ProtectionFromFireOff" ProtectionFromFireEffect = "ProtectionFromFireEffect" ProtectionFromPoisonCast = "ProtectionFromPoisonCast" ProtectionFromPoisonOn = "ProtectionFromPoisonOn" ProtectionFromPoisonOff = "ProtectionFromPoisonOff" ProtectionFromPoisonEffec = "ProtectionFromPoisonEffec" ProtectionFromPoisonEffect = "ProtectionFromPoisonEffect" ProtectionFromElectricity = "ProtectionFromElectricity" ProtectionFromMagicCast = "ProtectionFromMagicCast" ProtectionFromMagicOn = "ProtectionFromMagicOn" ProtectionFromMagicOff = "ProtectionFromMagicOff" ProtectionFromMagicEffect = "ProtectionFromMagicEffect" PullCast = "PullCast" PushCast = "PushCast" ReflectiveShieldCast = "ReflectiveShieldCast" ReflectiveShieldOn = "ReflectiveShieldOn" ReflectiveShieldOff = "ReflectiveShieldOff" ReflectiveShieldEffect = "ReflectiveShieldEffect" RegenerationOn = "RegenerationOn" RegenerationOff = "RegenerationOff" RunCast = "RunCast" RunOn = "RunOn" RunOff = "RunOff" SecretWallSecret = "SecretWallSecret" ShieldCast = "ShieldCast" ShieldOn = "ShieldOn" ShieldOff = "ShieldOff" ShieldRepelled = "ShieldRepelled" ShockCast = "ShockCast" ShockOn = "ShockOn" ShockOff = "ShockOff" Shocked = "Shocked" SlowCast = "SlowCast" SlowOn = "SlowOn" SlowOff = "SlowOff" StoneBlockMove = "StoneBlockMove" StunCast = "StunCast" StunOn = "StunOn" StunOff = "StunOff" SpikeBlockMover = "SpikeBlockMover" SummonCast = "SummonCast" SwapCast = "SwapCast" TagCast = "TagCast" TagOn = "TagOn" TagOff = "TagOff" TeleportOut = "TeleportOut" TeleportIn = "TeleportIn" TeleportToMarkerCast = "TeleportToMarkerCast" TeleportToMarkerEffect = "TeleportToMarkerEffect" TeleportPopCast = "TeleportPopCast" TeleportToTargetCast = "TeleportToTargetCast" TelekinesisCast = "TelekinesisCast" TelekinesisOn = "TelekinesisOn" TelekinesisOff = "TelekinesisOff" ToxicCloudCast = "ToxicCloudCast" TriggerGlyphCast = "TriggerGlyphCast" TurnUndeadCast = "TurnUndeadCast" TurnUndeadEffect = "TurnUndeadEffect" VampirismCast = "VampirismCast" VampirismOn = "VampirismOn" VampirismOff = "VampirismOff" DrainHealth = "DrainHealth" VillainCast = "VillainCast" VillainOn = "VillainOn" VillainOff = "VillainOff" WallCast = "WallCast" WallOn = "WallOn" WallOff = "WallOff" BerserkerChargeInvoke = "BerserkerChargeInvoke" BerserkerCrash = "BerserkerCrash" BerserkerChargeOn = "BerserkerChargeOn" BerserkerChargeOff = "BerserkerChargeOff" WarcryInvoke = "WarcryInvoke" WarcryOn = "WarcryOn" WarcryOff = "WarcryOff" HarpoonInvoke = "HarpoonInvoke" HarpoonOn = "HarpoonOn" HarpoonOff = "HarpoonOff" TreadLightlyInvoke = "TreadLightlyInvoke" TreadLightlyOn = "TreadLightlyOn" TreadLightlyOff = "TreadLightlyOff" EyeOfTheWolfInvoke = "EyeOfTheWolfInvoke" EyeOfTheWolfOn = "EyeOfTheWolfOn" EyeOfTheWolfOff = "EyeOfTheWolfOff" SpellPhonemeUp = "SpellPhonemeUp" SpellPhonemeUpRight = "SpellPhonemeUpRight" SpellPhonemeRight = "SpellPhonemeRight" SpellPhonemeDownRight = "SpellPhonemeDownRight" SpellPhonemeDown = "SpellPhonemeDown" SpellPhonemeDownLeft = "SpellPhonemeDownLeft" SpellPhonemeLeft = "SpellPhonemeLeft" SpellPhonemeUpLeft = "SpellPhonemeUpLeft" FemaleSpellPhonemeUp = "FemaleSpellPhonemeUp" FemaleSpellPhonemeUpRight = "FemaleSpellPhonemeUpRight" FemaleSpellPhonemeRight = "FemaleSpellPhonemeRight" FemaleSpellPhonemeDownRig = "FemaleSpellPhonemeDownRig" FemaleSpellPhonemeDown = "FemaleSpellPhonemeDown" FemaleSpellPhonemeDownLef = "FemaleSpellPhonemeDownLef" FemaleSpellPhonemeLeft = "FemaleSpellPhonemeLeft" FemaleSpellPhonemeUpLeft = "FemaleSpellPhonemeUpLeft" NPCSpellPhonemeUp = "NPCSpellPhonemeUp" NPCSpellPhonemeUpRight = "NPCSpellPhonemeUpRight" NPCSpellPhonemeRight = "NPCSpellPhonemeRight" NPCSpellPhonemeDownRight = "NPCSpellPhonemeDownRight" NPCSpellPhonemeDown = "NPCSpellPhonemeDown" NPCSpellPhonemeDownLeft = "NPCSpellPhonemeDownLeft" NPCSpellPhonemeLeft = "NPCSpellPhonemeLeft" NPCSpellPhonemeUpLeft = "NPCSpellPhonemeUpLeft" NPCFemaleSpellPhonemeUp = "NPCFemaleSpellPhonemeUp" NPCFemaleSpellPhonemeUpRi = "NPCFemaleSpellPhonemeUpRi" NPCFemaleSpellPhonemeUpRight = "NPCFemaleSpellPhonemeUpRight" NPCFemaleSpellPhonemeRigh = "NPCFemaleSpellPhonemeRigh" NPCFemaleSpellPhonemeRight = "NPCFemaleSpellPhonemeRight" NPCFemaleSpellPhonemeDown = "NPCFemaleSpellPhonemeDown" NPCFemaleSpellPhonemeDownLeft = "NPCFemaleSpellPhonemeDownLeft" NPCFemaleSpellPhonemeDownRight = "NPCFemaleSpellPhonemeDownRight" NPCFemaleSpellPhonemeLeft = "NPCFemaleSpellPhonemeLeft" NPCFemaleSpellPhonemeUpLe = "NPCFemaleSpellPhonemeUpLe" NPCFemaleSpellPhonemeUpLeft = "NPCFemaleSpellPhonemeUpLeft" FireballWand = "FireballWand" SmallFireballWand = "SmallFireballWand" FlareWand = "FlareWand" LightningWand = "LightningWand" DepletedWand = "DepletedWand" Ricochet = "Ricochet" WeaponEffectFire = "WeaponEffectFire" WeaponEffectElectricity = "WeaponEffectElectricity" PermanentFizzle = "PermanentFizzle" ManaEmpty = "ManaEmpty" Lock = "Lock" Unlock = "Unlock" ElevEnable = "ElevEnable" ElevDisable = "ElevDisable" OpenWoodenDoor = "OpenWoodenDoor" MoveWoodenDoor = "MoveWoodenDoor" CloseWoodenDoor = "CloseWoodenDoor" WoodenDoorLocked = "WoodenDoorLocked" OpenGate = "OpenGate" MoveGate = "MoveGate" CloseGate = "CloseGate" GateLocked = "GateLocked" OpenWoodenGate = "OpenWoodenGate" CloseWoodenGate = "CloseWoodenGate" OpenHeavyWoodenDoor = "OpenHeavyWoodenDoor" CloseHeavyWoodenDoor = "CloseHeavyWoodenDoor" ElevStoneUp = "ElevStoneUp" ElevStoneDown = "ElevStoneDown" ElevWoodUp = "ElevWoodUp" ElevWoodDown = "ElevWoodDown" ElevMechUp = "ElevMechUp" ElevMechDown = "ElevMechDown" ElevLavaUp = "ElevLavaUp" ElevLavaDown = "ElevLavaDown" ElevGreenUp = "ElevGreenUp" ElevGreenDown = "ElevGreenDown" ElevLOTDUp = "ElevLOTDUp" ElevLOTDDown = "ElevLOTDDown" Gear1 = "Gear1" Gear2 = "Gear2" Gear3 = "Gear3" SmallRockMove = "SmallRockMove" MediumRockMove = "MediumRockMove" LargeRockMove = "LargeRockMove" BoulderMove = "BoulderMove" WalkOnSnow = "WalkOnSnow" WalkOnStone = "WalkOnStone" WalkOnDirt = "WalkOnDirt" WalkOnWood = "WalkOnWood" WalkOnWater = "WalkOnWater" WalkOnMud = "WalkOnMud" RunOnSnow = "RunOnSnow" RunOnStone = "RunOnStone" RunOnDirt = "RunOnDirt" RunOnWood = "RunOnWood" RunOnWater = "RunOnWater" RunOnMud = "RunOnMud" PlayerFallThud = "PlayerFallThud" BarrelMove = "BarrelMove" BlackPowderBurn = "BlackPowderBurn" FireExtinguish = "FireExtinguish" PolypExplode = "PolypExplode" PowderBarrelExplode = "PowderBarrelExplode" BarrelBreak = "BarrelBreak" WaterBarrelBreak = "WaterBarrelBreak" LOTDBarrelBreak = "LOTDBarrelBreak" WineCaskBreak = "WineCaskBreak" BarrelStackBreak = "BarrelStackBreak" CoffinBreak = "CoffinBreak" WaspHiveBreak = "WaspHiveBreak" WorkstationBreak = "WorkstationBreak" CrushLight = "CrushLight" CrushMedium = "CrushMedium" CrushHard = "CrushHard" SentryRayHitWall = "SentryRayHitWall" SentryRayHit = "SentryRayHit" DeathRayKill = "DeathRayKill" TauntLaugh = "TauntLaugh" TauntShakeFist = "TauntShakeFist" TauntPoint = "TauntPoint" FlagPickup = "FlagPickup" FlagDrop = "FlagDrop" FlagRespawn = "FlagRespawn" FlagCapture = "FlagCapture" TreasurePickup = "TreasurePickup" TreasureDrop = "TreasureDrop" GameOver = "GameOver" ServerOptionsChange = "ServerOptionsChange" CamperAlarm = "CamperAlarm" PlayerEliminated = "PlayerEliminated" CrownChange = "CrownChange" HumanMaleEatFood = "HumanMaleEatFood" HumanMaleEatApple = "HumanMaleEatApple" HumanMaleDrinkJug = "HumanMaleDrinkJug" HumanMaleHurtLight = "HumanMaleHurtLight" HumanMaleHurtMedium = "HumanMaleHurtMedium" HumanMaleHurtHeavy = "HumanMaleHurtHeavy" HumanMaleHurtPoison = "HumanMaleHurtPoison" HumanMaleDie = "HumanMaleDie" HumanMaleExertionLight = "HumanMaleExertionLight" HumanMaleExertionHeavy = "HumanMaleExertionHeavy" HumanFemaleEatFood = "HumanFemaleEatFood" HumanFemaleEatApple = "HumanFemaleEatApple" HumanFemaleDrinkJug = "HumanFemaleDrinkJug" HumanFemaleHurtLight = "HumanFemaleHurtLight" HumanFemaleHurtMedium = "HumanFemaleHurtMedium" HumanFemaleHurtHeavy = "HumanFemaleHurtHeavy" HumanFemaleHurtPoison = "HumanFemaleHurtPoison" HumanFemaleDie = "HumanFemaleDie" HumanFemaleExertionLight = "HumanFemaleExertionLight" HumanFemaleExertionHeavy = "HumanFemaleExertionHeavy" MonsterEatFood = "MonsterEatFood" BatMove = "BatMove" BatRecognize = "BatRecognize" BatBite = "BatBite" BatDie = "BatDie" SmallSpiderMove = "SmallSpiderMove" SmallSpiderIdle = "SmallSpiderIdle" SmallSpiderRecognize = "SmallSpiderRecognize" SmallSpiderBite = "SmallSpiderBite" SmallSpiderDie = "SmallSpiderDie" LargeSpiderMove = "LargeSpiderMove" LargeSpiderIdle = "LargeSpiderIdle" LargeSpiderRecognize = "LargeSpiderRecognize" LargeSpiderBite = "LargeSpiderBite" LargeSpiderSpit = "LargeSpiderSpit" WebGooHit = "WebGooHit" LargeSpiderDie = "LargeSpiderDie" SkeletonMove = "SkeletonMove" SkeletonRecognize = "SkeletonRecognize" SkeletonHitting = "SkeletonHitting" SkeletonMissing = "SkeletonMissing" SkeletonAttackInit = "SkeletonAttackInit" SkeletonDie = "SkeletonDie" SkeletonLordMove = "SkeletonLordMove" SkeletonLordRecognize = "SkeletonLordRecognize" SkeletonLordHitting = "SkeletonLordHitting" SkeletonLordMissing = "SkeletonLordMissing" SkeletonLordAttackInit = "SkeletonLordAttackInit" SkeletonLordDie = "SkeletonLordDie" BomberRecognize = "BomberRecognize" BomberSummon = "BomberSummon" BomberMove = "BomberMove" BomberDie = "BomberDie" DemonRecognize = "DemonRecognize" DemonTaunt = "DemonTaunt" DemonSpellInit = "DemonSpellInit" DemonMove = "DemonMove" DemonHurt = "DemonHurt" DemonDie = "DemonDie" GruntTaunt = "GruntTaunt" GruntIdle = "GruntIdle" GruntBowTwang = "GruntBowTwang" GruntRecognize = "GruntRecognize" GruntMove = "GruntMove" GruntAttackInit = "GruntAttackInit" GruntHitting = "GruntHitting" GruntMissing = "GruntMissing" GruntHurt = "GruntHurt" GruntDie = "GruntDie" OgreBruteTaunt = "OgreBruteTaunt" OgreBruteIdle = "OgreBruteIdle" OgreBruteListen = "OgreBruteListen" OgreBruteAttackInit = "OgreBruteAttackInit" OgreBruteMeleeMiss = "OgreBruteMeleeMiss" OgreBruteEngage = "OgreBruteEngage" OgreBruteRecognize = "OgreBruteRecognize" OgreBruteMove = "OgreBruteMove" OgreBruteHurt = "OgreBruteHurt" OgreBruteMeleeHit = "OgreBruteMeleeHit" OgreBruteDie = "OgreBruteDie" OgreWarlordTaunt = "OgreWarlordTaunt" OgreWarlordIdle = "OgreWarlordIdle" OgreWarlordListen = "OgreWarlordListen" OgreWarlordAttackInit = "OgreWarlordAttackInit" OgreWarlordMeleeMiss = "OgreWarlordMeleeMiss" OgreWarlordEngage = "OgreWarlordEngage" OgreWarlordRecognize = "OgreWarlordRecognize" OgreWarlordThrow = "OgreWarlordThrow" OgreWarlordMove = "OgreWarlordMove" OgreWarlordHurt = "OgreWarlordHurt" OgreWarlordMeleeHit = "OgreWarlordMeleeHit" OgreWarlordDie = "OgreWarlordDie" ScorpionMove = "ScorpionMove" ScorpionIdle = "ScorpionIdle" ScorpionRecognize = "ScorpionRecognize" ScorpionStingHit = "ScorpionStingHit" ScorpionStingMiss = "ScorpionStingMiss" ScorpionAttackInit = "ScorpionAttackInit" ScorpionHurt = "ScorpionHurt" ScorpionDie = "ScorpionDie" LeechMove = "LeechMove" LeechIdle = "LeechIdle" LeechRecognize = "LeechRecognize" LeechHitting = "LeechHitting" LeechMissing = "LeechMissing" LeechAttackInit = "LeechAttackInit" LeechHurt = "LeechHurt" LeechDie = "LeechDie" ZombieMove = "ZombieMove" ZombieIdle = "ZombieIdle" ZombieRecognize = "ZombieRecognize" ZombieHitting = "ZombieHitting" ZombieMissing = "ZombieMissing" ZombieAttackInit = "ZombieAttackInit" ZombieHurt = "ZombieHurt" ZombieDie = "ZombieDie" VileZombieMove = "VileZombieMove" VileZombieIdle = "VileZombieIdle" VileZombieRecognize = "VileZombieRecognize" VileZombieHitting = "VileZombieHitting" VileZombieMissing = "VileZombieMissing" VileZombieAttackInit = "VileZombieAttackInit" VileZombieHurt = "VileZombieHurt" VileZombieDie = "VileZombieDie" BearMove = "BearMove" BearRecognize = "BearRecognize" BearHitting = "BearHitting" BearMissing = "BearMissing" BearAttackInit = "BearAttackInit" BearHurt = "BearHurt" BearDie = "BearDie" WolfMove = "WolfMove" WolfIdle = "WolfIdle" WolfRecognize = "WolfRecognize" WolfHitting = "WolfHitting" WolfMissing = "WolfMissing" WolfAttackInit = "WolfAttackInit" WolfHurt = "WolfHurt" WolfDie = "WolfDie" PlantRecognize = "PlantRecognize" PlantHitting = "PlantHitting" PlantMissing = "PlantMissing" PlantAttackInit = "PlantAttackInit" PlantHurt = "PlantHurt" PlantDie = "PlantDie" MimicMove = "MimicMove" MimicIdle = "MimicIdle" MimicRecognize = "MimicRecognize" MimicAttackInit = "MimicAttackInit" MimicHitting = "MimicHitting" MimicMissing = "MimicMissing" MimicHurt = "MimicHurt" MimicDie = "MimicDie" MechGolemRecognize = "MechGolemRecognize" MechGolemHitting = "MechGolemHitting" MechGolemMissing = "MechGolemMissing" MechGolemMove = "MechGolemMove" MechGolemAttackInit = "MechGolemAttackInit" MechGolemHurt = "MechGolemHurt" MechGolemDie = "MechGolemDie" ImpMove = "ImpMove" ImpRecognize = "ImpRecognize" ImpSteal = "ImpSteal" ImpShoot = "ImpShoot" ImpDie = "ImpDie" GolemRecognize = "GolemRecognize" GolemMove = "GolemMove" GolemHitting = "GolemHitting" GolemMissing = "GolemMissing" GolemHurt = "GolemHurt" GolemDie = "GolemDie" TowerRecognize = "TowerRecognize" TowerShoot = "TowerShoot" SkullRecognize = "SkullRecognize" SkullShoot = "SkullShoot" GhostMove = "GhostMove" GhostRecognize = "GhostRecognize" GhostHitting = "GhostHitting" GhostHurt = "GhostHurt" GhostDie = "GhostDie" WizardTalkable = "WizardTalkable" WizardMove = "WizardMove" WizardRecognize = "WizardRecognize" WizardEngage = "WizardEngage" WizardRetreat = "WizardRetreat" WizardHurt = "WizardHurt" WizardDie = "WizardDie" WaspMove = "WaspMove" WaspIdle = "WaspIdle" WaspRecognize = "WaspRecognize" WaspSting = "WaspSting" WaspDie = "WaspDie" EmberDemonMove = "EmberDemonMove" EmberDemonTaunt = "EmberDemonTaunt" EmberDemonRecognize = "EmberDemonRecognize" EmberDemonHitting = "EmberDemonHitting" EmberDemonMissing = "EmberDemonMissing" EmberDemonThrow = "EmberDemonThrow" EmberDemonHurt = "EmberDemonHurt" EmberDemonDie = "EmberDemonDie" UrchinMove = "UrchinMove" UrchinTaunt = "UrchinTaunt" UrchinIdle = "UrchinIdle" UrchinRecognize = "UrchinRecognize" UrchinThrow = "UrchinThrow" UrchinHurt = "UrchinHurt" UrchinFlee = "UrchinFlee" UrchinDie = "UrchinDie" UrchinShamanMove = "UrchinShamanMove" UrchinShamanTaunt = "UrchinShamanTaunt" UrchinShamanIdle = "UrchinShamanIdle" UrchinShamanRecognize = "UrchinShamanRecognize" UrchinShamanHurt = "UrchinShamanHurt" UrchinShamanFlee = "UrchinShamanFlee" UrchinShamanDie = "UrchinShamanDie" ArcherMove = "ArcherMove" ArcherTaunt = "ArcherTaunt" ArcherIdle = "ArcherIdle" ArcherRetreat = "ArcherRetreat" ArcherRecognize = "ArcherRecognize" ArcherMissileInit = "ArcherMissileInit" ArcherShoot = "ArcherShoot" ArcherHurt = "ArcherHurt" ArcherDie = "ArcherDie" SwordsmanMove = "SwordsmanMove" SwordsmanTaunt = "SwordsmanTaunt" SwordsmanIdle = "SwordsmanIdle" SwordsmanRecognize = "SwordsmanRecognize" SwordsmanHitting = "SwordsmanHitting" SwordsmanMissing = "SwordsmanMissing" SwordsmanRetreat = "SwordsmanRetreat" SwordsmanAttackInit = "SwordsmanAttackInit" SwordsmanHurt = "SwordsmanHurt" SwordsmanDie = "SwordsmanDie" BeholderMove = "BeholderMove" BeholderIdle = "BeholderIdle" BeholderRecognize = "BeholderRecognize" BeholderAttackInit = "BeholderAttackInit" BeholderHurt = "BeholderHurt" BeholderDie = "BeholderDie" DryadMove = "DryadMove" DryadTaunt = "DryadTaunt" DryadRecognize = "DryadRecognize" DryadHurt = "DryadHurt" DryadDie = "DryadDie" EvilCherubMove = "EvilCherubMove" EvilCherubTaunt = "EvilCherubTaunt" EvilCherubIdle = "EvilCherubIdle" EvilCherubMissileInit = "EvilCherubMissileInit" EvilCherubRecognize = "EvilCherubRecognize" EvilCherubShoot = "EvilCherubShoot" EvilCherubHurt = "EvilCherubHurt" EvilCherubDie = "EvilCherubDie" FishDie = "FishDie" FrogDie = "FrogDie" FrogRecognize = "FrogRecognize" HecubahTaunt = "HecubahTaunt" HecubahTalkable = "HecubahTalkable" HecubahMove = "HecubahMove" HecubahRecognize = "HecubahRecognize" HecubahAttackInit = "HecubahAttackInit" HecubahHurt = "HecubahHurt" HecubahDie = "HecubahDie" HecubahDieFrame0A = "HecubahDieFrame0A" HecubahDieFrame0B = "HecubahDieFrame0B" HecubahDieFrame98 = "HecubahDieFrame98" HecubahDieFrame194 = "HecubahDieFrame194" HecubahDieFrame283 = "HecubahDieFrame283" HecubahDieFrame439 = "HecubahDieFrame439" NecromancerTaunt = "NecromancerTaunt" NecromancerTalkable = "NecromancerTalkable" NecromancerMove = "NecromancerMove" NecromancerRecognize = "NecromancerRecognize" NecromancerEngage = "NecromancerEngage" NecromancerRetreat = "NecromancerRetreat" NecromancerAttackInit = "NecromancerAttackInit" NecromancerHurt = "NecromancerHurt" NecromancerDie = "NecromancerDie" LichMove = "LichMove" LichRecognize = "LichRecognize" LichAttackInit = "LichAttackInit" LichHurt = "LichHurt" LichDie = "LichDie" FlyingGolemMove = "FlyingGolemMove" FlyingGolemRecognize = "FlyingGolemRecognize" FlyingGolemShoot = "FlyingGolemShoot" FlyingGolemHurt = "FlyingGolemHurt" FlyingGolemDie = "FlyingGolemDie" NPCIdle = "NPCIdle" NPCTalkable = "NPCTalkable" NPCRecognize = "NPCRecognize" NPCRetreat = "NPCRetreat" NPCHurt = "NPCHurt" NPCDie = "NPCDie" MaidenIdle = "MaidenIdle" MaidenTalkable = "MaidenTalkable" MaidenFlee = "MaidenFlee" MaidenHurt = "MaidenHurt" MaidenDie = "MaidenDie" RatDie = "RatDie" ShadeMove = "ShadeMove" ShadeRecognize = "ShadeRecognize" ShadeAttackInit = "ShadeAttackInit" ShadeHurt = "ShadeHurt" ShadeDie = "ShadeDie" WeirdlingMove = "WeirdlingMove" WillOWispMove = "WillOWispMove" WillOWispIdle = "WillOWispIdle" WillOWispRecognize = "WillOWispRecognize" WillOWispEngage = "WillOWispEngage" WillOWispHurt = "WillOWispHurt" WillOWispDie = "WillOWispDie" TrollMove = "TrollMove" TrollIdle = "TrollIdle" TrollRecognize = "TrollRecognize" TrollHurt = "TrollHurt" TrollAttackInit = "TrollAttackInit" TrollFlatus = "TrollFlatus" TrollDie = "TrollDie" MaleNPC1Idle = "MaleNPC1Idle" MaleNPC1Talkable = "MaleNPC1Talkable" MaleNPC1Recognize = "MaleNPC1Recognize" MaleNPC1Engage = "MaleNPC1Engage" MaleNPC1Retreat = "MaleNPC1Retreat" MaleNPC1Hurt = "MaleNPC1Hurt" MaleNPC1AttackInit = "MaleNPC1AttackInit" MaleNPC1Die = "MaleNPC1Die" MaleNPC2Idle = "MaleNPC2Idle" MaleNPC2Talkable = "MaleNPC2Talkable" MaleNPC2Recognize = "MaleNPC2Recognize" MaleNPC2Engage = "MaleNPC2Engage" MaleNPC2Retreat = "MaleNPC2Retreat" MaleNPC2Hurt = "MaleNPC2Hurt" MaleNPC2AttackInit = "MaleNPC2AttackInit" MaleNPC2Die = "MaleNPC2Die" Maiden1Talkable = "Maiden1Talkable" Maiden1Idle = "Maiden1Idle" Maiden1Recognize = "Maiden1Recognize" Maiden1Retreat = "Maiden1Retreat" Maiden1Hurt = "Maiden1Hurt" Maiden1AttackInit = "Maiden1AttackInit" Maiden1Die = "Maiden1Die" Maiden2Idle = "Maiden2Idle" Maiden2Talkable = "Maiden2Talkable" Maiden2Recognize = "Maiden2Recognize" Maiden2Retreat = "Maiden2Retreat" Maiden2Hurt = "Maiden2Hurt" Maiden2AttackInit = "Maiden2AttackInit" Maiden2Die = "Maiden2Die" HorvathTalkable = "HorvathTalkable" HorvathEngage = "HorvathEngage" HorvathHurt = "HorvathHurt" HorvathDie = "HorvathDie" Wizard1Idle = "Wizard1Idle" Wizard1Talkable = "Wizard1Talkable" Wizard1Recognize = "Wizard1Recognize" Wizard1Engage = "Wizard1Engage" Wizard1Retreat = "Wizard1Retreat" Wizard1Hurt = "Wizard1Hurt" Wizard1AttackInit = "Wizard1AttackInit" Wizard1Die = "Wizard1Die" Wizard2Idle = "Wizard2Idle" Wizard2Talkable = "Wizard2Talkable" Wizard2Recognize = "Wizard2Recognize" Wizard2Engage = "Wizard2Engage" Wizard2Retreat = "Wizard2Retreat" Wizard2Hurt = "Wizard2Hurt" Wizard2AttackInit = "Wizard2AttackInit" Wizard2Die = "Wizard2Die" FireKnight1Idle = "FireKnight1Idle" FireKnight1Talkable = "FireKnight1Talkable" FireKnight1Recognize = "FireKnight1Recognize" FireKnight1Engage = "FireKnight1Engage" FireKnight1Retreat = "FireKnight1Retreat" FireKnight1Hurt = "FireKnight1Hurt" FireKnight1AttackInit = "FireKnight1AttackInit" FireKnight1Die = "FireKnight1Die" FireKnight2Idle = "FireKnight2Idle" FireKnight2Talkable = "FireKnight2Talkable" FireKnight2Recognize = "FireKnight2Recognize" FireKnight2Engage = "FireKnight2Engage" FireKnight2Retreat = "FireKnight2Retreat" FireKnight2Hurt = "FireKnight2Hurt" FireKnight2AttackInit = "FireKnight2AttackInit" FireKnight2Die = "FireKnight2Die" Guard1Idle = "Guard1Idle" Guard1Talkable = "Guard1Talkable" Guard1Recognize = "Guard1Recognize" Guard1Engage = "Guard1Engage" Guard1Retreat = "Guard1Retreat" Guard1Hurt = "Guard1Hurt" Guard1AttackInit = "Guard1AttackInit" Guard1Die = "Guard1Die" Guard2Idle = "Guard2Idle" Guard2Talkable = "Guard2Talkable" Guard2Recognize = "Guard2Recognize" Guard2Engage = "Guard2Engage" Guard2Retreat = "Guard2Retreat" Guard2Hurt = "Guard2Hurt" Guard2AttackInit = "Guard2AttackInit" Guard2Die = "Guard2Die" WoundedNPCIdle = "WoundedNPCIdle" WoundedNPCTalkable = "WoundedNPCTalkable" WoundedNPCRecognize = "WoundedNPCRecognize" WoundedNPCRetreat = "WoundedNPCRetreat" WoundedNPCHurt = "WoundedNPCHurt" WoundedNPCAttackInit = "WoundedNPCAttackInit" WoundedNPCDie = "WoundedNPCDie" HorrendousTalkable = "HorrendousTalkable" HorrendousRecognize = "HorrendousRecognize" HorrendousRetreat = "HorrendousRetreat" HorrendousHurt = "HorrendousHurt" HorrendousAttackInit = "HorrendousAttackInit" HorrendousDie = "HorrendousDie" PotionUse = "PotionUse" RestoreHealthName = "RestoreHealth" RestoreMana = "RestoreMana" SecretWallOpen = "SecretWallOpen" SecretWallClose = "SecretWallClose" SecretWallEarthOpen = "SecretWallEarthOpen" SecretWallEarthClose = "SecretWallEarthClose" SecretWallMetalOpen = "SecretWallMetalOpen" SecretWallMetalClose = "SecretWallMetalClose" SecretWallStoneOpen = "SecretWallStoneOpen" SecretWallStoneClose = "SecretWallStoneClose" SecretWallWoodOpen = "SecretWallWoodOpen" SecretWallWoodClose = "SecretWallWoodClose" TriggerPressed = "TriggerPressed" TriggerReleased = "TriggerReleased" PotionBreak = "PotionBreak" WallDestroyed = "WallDestroyed" WallDestroyedStone = "WallDestroyedStone" WallDestroyedWood = "WallDestroyedWood" WallDestroyedMetal = "WallDestroyedMetal" ChestOpen = "ChestOpen" CryptChestOpen = "CryptChestOpen" SackChestOpen = "SackChestOpen" EggBreak = "EggBreak" ButtonPress = "ButtonPress" ButtonRelease = "ButtonRelease" LeverToggle = "LeverToggle" SwitchToggle = "SwitchToggle" ChainPull = "ChainPull" ShortBellsUp = "ShortBellsUp" LongBellsUp = "LongBellsUp" LongBellsDown = "LongBellsDown" BigBell = "BigBell" MetallicBong = "MetallicBong" Chime = "Chime" BigGong = "BigGong" SmallGong = "SmallGong" MysticChant = "MysticChant" TripleChime = "TripleChime" Clank1 = "Clank1" Clank2 = "Clank2" Clank3 = "Clank3" MapOpen = "MapOpen" MapClose = "MapClose" BookOpen = "BookOpen" BookClose = "BookClose" PageTurn = "PageTurn" InventoryOpen = "InventoryOpen" InventoryClose = "InventoryClose" InventoryPickup = "InventoryPickup" InventoryDrop = "InventoryDrop" SpellPickup = "SpellPickup" SpellDrop = "SpellDrop" SpellPopOffBook = "SpellPopOffBook" TrapEditorOpen = "TrapEditorOpen" TrapEditorClose = "TrapEditorClose" ChangeSpellbar = "ChangeSpellbar" ExpandSpellbar = "ExpandSpellbar" CollapseSpellbar = "CollapseSpellbar" CreatureCageAppears = "CreatureCageAppears" CreatureCageHides = "CreatureCageHides" ShopRepairItem = "ShopRepairItem" MetalArmorPickup = "MetalArmorPickup" MetalArmorDrop = "MetalArmorDrop" MetalArmorBreak = "MetalArmorBreak" LeatherArmorPickup = "LeatherArmorPickup" LeatherArmorDrop = "LeatherArmorDrop" LeatherArmorBreak = "LeatherArmorBreak" WoodenArmorPickup = "WoodenArmorPickup" WoodenArmorDrop = "WoodenArmorDrop" WoodenArmorBreak = "WoodenArmorBreak" ClothArmorPickup = "ClothArmorPickup" ClothArmorDrop = "ClothArmorDrop" ClothArmorBreak = "ClothArmorBreak" ShoesPickup = "ShoesPickup" ShoesDrop = "ShoesDrop" MetalWeaponBreak = "MetalWeaponBreak" WoodWeaponBreak = "WoodWeaponBreak" KeyPickup = "KeyPickup" KeyDrop = "KeyDrop" AmuletPickup = "AmuletPickup" AmuletDrop = "AmuletDrop" TrapPickup = "TrapPickup" TrapDrop = "TrapDrop" BookPickup = "BookPickup" BookDrop = "BookDrop" ScrollPickup = "ScrollPickup" ScrollDrop = "ScrollDrop" WandPickup = "WandPickup" WandDrop = "WandDrop" PotionPickup = "PotionPickup" PotionDrop = "PotionDrop" MeatPickup = "MeatPickup" MeatDrop = "MeatDrop" ApplePickup = "ApplePickup" AppleDrop = "AppleDrop" ShroomPickup = "ShroomPickup" ShroomDrop = "ShroomDrop" SpectaclesPickup = "SpectaclesPickup" SpectaclesDrop = "SpectaclesDrop" MetalWeaponPickup = "MetalWeaponPickup" WoodenWeaponPickup = "WoodenWeaponPickup" MetalWeaponDrop = "MetalWeaponDrop" WoodenWeaponDrop = "WoodenWeaponDrop" BearTrapTriggered = "BearTrapTriggered" PoisonTrapTriggered = "PoisonTrapTriggered" StoneHitStone = "StoneHitStone" StoneHitEarth = "StoneHitEarth" StoneHitWood = "StoneHitWood" StoneHitMetal = "StoneHitMetal" StoneHitFlesh = "StoneHitFlesh" WoodHitStone = "WoodHitStone" WoodHitEarth = "WoodHitEarth" WoodHitWood = "WoodHitWood" WoodHitMetal = "WoodHitMetal" WoodHitFlesh = "WoodHitFlesh" MetalHitStone = "MetalHitStone" MetalHitEarth = "MetalHitEarth" MetalHitWood = "MetalHitWood" MetalHitMetal = "MetalHitMetal" MetalHitFlesh = "MetalHitFlesh" FleshHitStone = "FleshHitStone" FleshHitEarth = "FleshHitEarth" FleshHitWood = "FleshHitWood" FleshHitMetal = "FleshHitMetal" FleshHitFlesh = "FleshHitFlesh" DiamondHitStone = "DiamondHitStone" DiamondHitEarth = "DiamondHitEarth" DiamondHitWood = "DiamondHitWood" DiamondHitMetal = "DiamondHitMetal" DiamondHitFlesh = "DiamondHitFlesh" HitStoneBreakable = "HitStoneBreakable" HitEarthBreakable = "HitEarthBreakable" HitWoodBreakable = "HitWoodBreakable" HitMetalBreakable = "HitMetalBreakable" HitMagicBreakable = "HitMagicBreakable" HitMetalShield = "HitMetalShield" PunchMissing = "PunchMissing" LongswordMissing = "LongswordMissing" SwordMissing = "SwordMissing" HammerMissing = "HammerMissing" AxeMissing = "AxeMissing" MaceMissing = "MaceMissing" BowEmpty = "BowEmpty" CrossBowEmpty = "CrossBowEmpty" BowShoot = "BowShoot" CrossBowShoot = "CrossBowShoot" ArrowTrapShoot = "ArrowTrapShoot" GreatSwordReflect = "GreatSwordReflect" ChakramThrow = "ChakramThrow" ChakramCatch = "ChakramCatch" ChakramFallToGround = "ChakramFallToGround" StaffBlock = "StaffBlock" NextWeapon = "NextWeapon" HeartBeat = "HeartBeat" GenerateTick = "GenerateTick" SummonClick = "SummonClick" SummonComplete = "SummonComplete" SummonAbort = "SummonAbort" ManaClick = "ManaClick" LevelUp = "LevelUp" JournalEntryAdd = "JournalEntryAdd" SecretFound = "SecretFound" EarthRumbleMajor = "EarthRumbleMajor" EarthRumbleMinor = "EarthRumbleMinor" ElectricalArc1 = "ElectricalArc1" FloorSpikesUp = "FloorSpikesUp" FloorSpikesDown = "FloorSpikesDown" SpikeBlockMove = "SpikeBlockMove" BoulderRoll = "BoulderRoll" ArcheryContestBegins = "ArcheryContestBegins" HorrendousIsKilled = "HorrendousIsKilled" StaffOblivionAchieve1 = "StaffOblivionAchieve1" StaffOblivionAchieve2 = "StaffOblivionAchieve2" StaffOblivionAchieve3 = "StaffOblivionAchieve3" StaffOblivionAchieve4 = "StaffOblivionAchieve4" FireGrate = "FireGrate" MechGolemPowerUp = "MechGolemPowerUp" ShellSelect = "ShellSelect" ShellClick = "ShellClick" ShellSlideIn = "ShellSlideIn" ShellSlideOut = "ShellSlideOut" ShellMouseBoom = "ShellMouseBoom" NoCanDo = "NoCanDo" BallThrow = "BallThrow" BallGrab = "BallGrab" BallBounce = "BallBounce" BallHitGoal = "BallHitGoal" HarpoonBroken = "HarpoonBroken" HarpoonReel = "HarpoonReel" MonsterGeneratorDie = "MonsterGeneratorDie" MonsterGeneratorHurt = "MonsterGeneratorHurt" MonsterGeneratorSpawn = "MonsterGeneratorSpawn" PlayerExit = "PlayerExit" AwardLife = "AwardLife" SoulGateTouch = "SoulGateTouch" QuestRespawn = "QuestRespawn" QuestFinalDeath = "QuestFinalDeath" QuestPlayerJoinGame = "QuestPlayerJoinGame" QuestStatScreen = "QuestStatScreen" QuestIntroScreen = "QuestIntroScreen" QuestPlayerExitGame = "QuestPlayerExitGame" QuestLockedChest = "QuestLockedChest" StoneDoorOpen = "StoneDoorOpen" StoneDoorClose = "StoneDoorClose" DiamondPickup = "DiamondPickup" DiamondDrop = "DiamondDrop" )
const ( MISSILE = "MISSILE" MONSTER = "MONSTER" PLAYER = "PLAYER" OBSTACLE = "OBSTACLE" FOOD = "FOOD" EXIT = "EXIT" KEY = "KEY" DOOR = "DOOR" INFO_BOOK = "INFO_BOOK" TRIGGER = "TRIGGER" TRANSPORTER = "TRANSPORTER" HOLE = "HOLE" WAND = "WAND" FIRE = "FIRE" ELEVATOR = "ELEVATOR" ELEVATOR_SHAFT = "ELEVATOR_SHAFT" DANGEROUS = "DANGEROUS" MONSTERGENERATOR = "MONSTERGENERATOR" READABLE = "READABLE" LIGHT = "LIGHT" SIMPLE = "SIMPLE" COMPLEX = "COMPLEX" IMMOBILE = "IMMOBILE" VISIBLE_ENABLE = "VISIBLE_ENABLE" WEAPON = "WEAPON" ARMOR = "ARMOR" NOT_STACKABLE = "NOT_STACKABLE" TREASURE = "TREASURE" FLAG = "FLAG" CLIENT_PERSIST = "CLIENT_PERSIST" CLIENT_PREDICT = "CLIENT_PREDICT" PICKUP = "PICKUP" )
const ( DAMAGE_BLADE = DamageType(0) DAMAGE_FLAME = DamageType(1) DAMAGE_CRUSH = DamageType(2) DAMAGE_IMPALE = DamageType(3) DAMAGE_DRAIN = DamageType(4) DAMAGE_POISON = DamageType(5) DAMAGE_DISPEL_UNDEAD = DamageType(6) DAMAGE_EXPLOSION = DamageType(7) DAMAGE_BITE = DamageType(8) DAMAGE_ELECTRIC = DamageType(9) DAMAGE_CLAW = DamageType(10) DAMAGE_IMPACT = DamageType(11) DAMAGE_LAVA = DamageType(12) DAMAGE_DEATH_MAGIC = DamageType(13) DAMAGE_PLASMA = DamageType(14) DAMAGE_MANA_BOMB = DamageType(15) DAMAGE_ZAP_RAY = DamageType(16) DAMAGE_AIRBORNE_ELECTRIC = DamageType(17) )
const ( PARTICLEFX = "PARTICLEFX" PLASMA = "PLASMA" SUMMON = "SUMMON" SUMMON_CANCEL = "SUMMON_CANCEL" //SHIELD = "SHIELD" BLUE_SPARKS = "BLUE_SPARKS" YELLOW_SPARKS = "YELLOW_SPARKS" CYAN_SPARKS = "CYAN_SPARKS" VIOLET_SPARKS = "VIOLET_SPARKS" EXPLOSION = "EXPLOSION" LESSER_EXPLOSION = "LESSER_EXPLOSION" COUNTERSPELL_EXPLOSION = "COUNTERSPELL_EXPLOSION" THIN_EXPLOSION = "THIN_EXPLOSION" TELEPORT = "TELEPORT" SMOKE_BLAST = "SMOKE_BLAST" DAMAGE_POOF = "DAMAGE_POOF" LIGHTNING = "LIGHTNING" ENERGY_BOLT = "ENERGY_BOLT" CHAIN_LIGHTNING_BOLT = "CHAIN_LIGHTNING_BOLT" DRAIN_MANA = "DRAIN_MANA" CHARM = "CHARM" GREATER_HEAL = "GREATER_HEAL" //MAGIC = "MAGIC" SPARK_EXPLOSION = "SPARK_EXPLOSION" DEATH_RAY = "DEATH_RAY" SENTRY_RAY = "SENTRY_RAY" RICOCHET = "RICOCHET" JIGGLE = "JIGGLE" GREEN_BOLT = "GREEN_BOLT" GREEN_EXPLOSION = "GREEN_EXPLOSION" WHITE_FLASH = "WHITE_FLASH" GENERATING_MAP = "GENERATING_MAP" ASSEMBLING_MAP = "ASSEMBLING_MAP" POPULATING_MAP = "POPULATING_MAP" DURATION_SPELL = "DURATION_SPELL" DELTAZ_SPELL_START = "DELTAZ_SPELL_START" TURN_UNDEAD = "TURN_UNDEAD" ARROW_TRAP = "ARROW_TRAP" VAMPIRISM = "VAMPIRISM" MANA_BOMB_CANCEL = "MANA_BOMB_CANCEL" )
const ( ENCHANT_INVISIBLE = "ENCHANT_INVISIBLE" ENCHANT_MOONGLOW = "ENCHANT_MOONGLOW" ENCHANT_BLINDED = "ENCHANT_BLINDED" ENCHANT_CONFUSED = "ENCHANT_CONFUSED" ENCHANT_SLOWED = "ENCHANT_SLOWED" ENCHANT_HELD = "ENCHANT_HELD" ENCHANT_DETECTING = "ENCHANT_DETECTING" ENCHANT_ETHEREAL = "ENCHANT_ETHEREAL" ENCHANT_RUN = "ENCHANT_RUN" ENCHANT_HASTED = "ENCHANT_HASTED" ENCHANT_VILLAIN = "ENCHANT_VILLAIN" ENCHANT_AFRAID = "ENCHANT_AFRAID" ENCHANT_BURNING = "ENCHANT_BURNING" ENCHANT_VAMPIRISM = "ENCHANT_VAMPIRISM" ENCHANT_ANCHORED = "ENCHANT_ANCHORED" ENCHANT_LIGHT = "ENCHANT_LIGHT" ENCHANT_DEATH = "ENCHANT_DEATH" ENCHANT_PROTECT_FROM_FIRE = "ENCHANT_PROTECT_FROM_FIRE" ENCHANT_PROTECT_FROM_POISON = "ENCHANT_PROTECT_FROM_POISON" ENCHANT_PROTECT_FROM_MAGIC = "ENCHANT_PROTECT_FROM_MAGIC" ENCHANT_PROTECT_FROM_ELECTRICITY = "ENCHANT_PROTECT_FROM_ELECTRICITY" ENCHANT_INFRAVISION = "ENCHANT_INFRAVISION" ENCHANT_SHOCK = "ENCHANT_SHOCK" ENCHANT_INVULNERABLE = "ENCHANT_INVULNERABLE" ENCHANT_TELEKINESIS = "ENCHANT_TELEKINESIS" ENCHANT_FREEZE = "ENCHANT_FREEZE" ENCHANT_SHIELD = "ENCHANT_SHIELD" ENCHANT_REFLECTIVE_SHIELD = "ENCHANT_REFLECTIVE_SHIELD" ENCHANT_CHARMING = "ENCHANT_CHARMING" ENCHANT_ANTI_MAGIC = "ENCHANT_ANTI_MAGIC" ENCHANT_CROWN = "ENCHANT_CROWN" ENCHANT_SNEAK = "ENCHANT_SNEAK" )
const ( NW = Direction(0) N = Direction(1) NE = Direction(2) W = Direction(3) E = Direction(5) SW = Direction(6) S = Direction(7) SE = Direction(8) )
const ( SPELL_INVALID = "SPELL_INVALID" SPELL_ANCHOR = "SPELL_ANCHOR" SPELL_ARACHNAPHOBIA = "SPELL_ARACHNAPHOBIA" SPELL_BLIND = "SPELL_BLIND" SPELL_BLINK = "SPELL_BLINK" SPELL_BURN = "SPELL_BURN" SPELL_CANCEL = "SPELL_CANCEL" SPELL_CHAIN_LIGHTNING_BOLT = "SPELL_CHAIN_LIGHTNING_BOLT" SPELL_CHANNEL_LIFE = "SPELL_CHANNEL_LIFE" SPELL_CHARM = "SPELL_CHARM" SPELL_CLEANSING_FLAME = "SPELL_CLEANSING_FLAME" SPELL_CLEANSING_MANA_FLAME = "SPELL_CLEANSING_MANA_FLAME" SPELL_CONFUSE = "SPELL_CONFUSE" SPELL_COUNTERSPELL = "SPELL_COUNTERSPELL" SPELL_CURE_POISON = "SPELL_CURE_POISON" SPELL_DEATH = "SPELL_DEATH" SPELL_DEATH_RAY = "SPELL_DEATH_RAY" SPELL_DETECT_MAGIC = "SPELL_DETECT_MAGIC" SPELL_DETONATE = "SPELL_DETONATE" SPELL_DETONATE_GLYPHS = "SPELL_DETONATE_GLYPHS" SPELL_DISENCHANT_ALL = "SPELL_DISENCHANT_ALL" SPELL_TURN_UNDEAD = "SPELL_TURN_UNDEAD" SPELL_DRAIN_MANA = "SPELL_DRAIN_MANA" SPELL_EARTHQUAKE = "SPELL_EARTHQUAKE" SPELL_LIGHTNING = "SPELL_LIGHTNING" SPELL_EXPLOSION = "SPELL_EXPLOSION" SPELL_FEAR = "SPELL_FEAR" SPELL_FIREBALL = "SPELL_FIREBALL" SPELL_FIREWALK = "SPELL_FIREWALK" SPELL_FIST = "SPELL_FIST" SPELL_FORCE_FIELD = "SPELL_FORCE_FIELD" SPELL_FORCE_OF_NATURE = "SPELL_FORCE_OF_NATURE" SPELL_FREEZE = "SPELL_FREEZE" SPELL_FUMBLE = "SPELL_FUMBLE" SPELL_GLYPH = "SPELL_GLYPH" SPELL_GREATER_HEAL = "SPELL_GREATER_HEAL" SPELL_HASTE = "SPELL_HASTE" SPELL_INFRAVISION = "SPELL_INFRAVISION" SPELL_INVERSION = "SPELL_INVERSION" SPELL_INVISIBILITY = "SPELL_INVISIBILITY" SPELL_INVULNERABILITY = "SPELL_INVULNERABILITY" SPELL_LESSER_HEAL = "SPELL_LESSER_HEAL" SPELL_LIGHT = "SPELL_LIGHT" SPELL_CHAIN_LIGHTNING = "SPELL_CHAIN_LIGHTNING" SPELL_LOCK = "SPELL_LOCK" SPELL_MARK = "SPELL_MARK" SPELL_MARK_1 = "SPELL_MARK_1" SPELL_MARK_2 = "SPELL_MARK_2" SPELL_MARK_3 = "SPELL_MARK_3" SPELL_MARK_4 = "SPELL_MARK_4" SPELL_MAGIC_MISSILE = "SPELL_MAGIC_MISSILE" SPELL_SHIELD = "SPELL_SHIELD" SPELL_METEOR = "SPELL_METEOR" SPELL_METEOR_SHOWER = "SPELL_METEOR_SHOWER" SPELL_MOONGLOW = "SPELL_MOONGLOW" SPELL_NULLIFY = "SPELL_NULLIFY" SPELL_MANA_BOMB = "SPELL_MANA_BOMB" SPELL_PHANTOM = "SPELL_PHANTOM" SPELL_PIXIE_SWARM = "SPELL_PIXIE_SWARM" SPELL_PLASMA = "SPELL_PLASMA" SPELL_POISON = "SPELL_POISON" SPELL_PROTECTION_FROM_ELECTRICITY = "SPELL_PROTECTION_FROM_ELECTRICITY" SPELL_PROTECTION_FROM_FIRE = "SPELL_PROTECTION_FROM_FIRE" SPELL_PROTECTION_FROM_MAGIC = "SPELL_PROTECTION_FROM_MAGIC" SPELL_PROTECTION_FROM_POISON = "SPELL_PROTECTION_FROM_POISON" SPELL_PULL = "SPELL_PULL" SPELL_PUSH = "SPELL_PUSH" SPELL_OVAL_SHIELD = "SPELL_OVAL_SHIELD" SPELL_RESTORE_HEALTH = "SPELL_RESTORE_HEALTH" SPELL_RESTORE_MANA = "SPELL_RESTORE_MANA" SPELL_RUN = "SPELL_RUN" SPELL_SHOCK = "SPELL_SHOCK" SPELL_SLOW = "SPELL_SLOW" SPELL_SMALL_ZAP = "SPELL_SMALL_ZAP" SPELL_STUN = "SPELL_STUN" SPELL_SUMMON_BAT = "SPELL_SUMMON_BAT" SPELL_SUMMON_BLACK_BEAR = "SPELL_SUMMON_BLACK_BEAR" SPELL_SUMMON_BEAR = "SPELL_SUMMON_BEAR" SPELL_SUMMON_BEHOLDER = "SPELL_SUMMON_BEHOLDER" SPELL_SUMMON_BOMBER = "SPELL_SUMMON_BOMBER" SPELL_SUMMON_CARNIVOROUS_PLANT = "SPELL_SUMMON_CARNIVOROUS_PLANT" SPELL_SUMMON_ALBINO_SPIDER = "SPELL_SUMMON_ALBINO_SPIDER" SPELL_SUMMON_SMALL_ALBINO_SPIDER = "SPELL_SUMMON_SMALL_ALBINO_SPIDER" SPELL_SUMMON_EVIL_CHERUB = "SPELL_SUMMON_EVIL_CHERUB" SPELL_SUMMON_EMBER_DEMON = "SPELL_SUMMON_EMBER_DEMON" SPELL_SUMMON_GHOST = "SPELL_SUMMON_GHOST" SPELL_SUMMON_GIANT_LEECH = "SPELL_SUMMON_GIANT_LEECH" SPELL_SUMMON_IMP = "SPELL_SUMMON_IMP" SPELL_SUMMON_MECHANICAL_FLYER = "SPELL_SUMMON_MECHANICAL_FLYER" SPELL_SUMMON_MECHANICAL_GOLEM = "SPELL_SUMMON_MECHANICAL_GOLEM" SPELL_SUMMON_MIMIC = "SPELL_SUMMON_MIMIC" SPELL_SUMMON_OGRE = "SPELL_SUMMON_OGRE" SPELL_SUMMON_OGRE_BRUTE = "SPELL_SUMMON_OGRE_BRUTE" SPELL_SUMMON_OGRE_WARLORD = "SPELL_SUMMON_OGRE_WARLORD" SPELL_SUMMON_SCORPION = "SPELL_SUMMON_SCORPION" SPELL_SUMMON_SHADE = "SPELL_SUMMON_SHADE" SPELL_SUMMON_SKELETON = "SPELL_SUMMON_SKELETON" SPELL_SUMMON_SKELETON_LORD = "SPELL_SUMMON_SKELETON_LORD" SPELL_SUMMON_SPIDER = "SPELL_SUMMON_SPIDER" SPELL_SUMMON_SMALL_SPIDER = "SPELL_SUMMON_SMALL_SPIDER" SPELL_SUMMON_SPITTING_SPIDER = "SPELL_SUMMON_SPITTING_SPIDER" SPELL_SUMMON_STONE_GOLEM = "SPELL_SUMMON_STONE_GOLEM" SPELL_SUMMON_TROLL = "SPELL_SUMMON_TROLL" SPELL_SUMMON_URCHIN = "SPELL_SUMMON_URCHIN" SPELL_SUMMON_WASP = "SPELL_SUMMON_WASP" SPELL_SUMMON_WILLOWISP = "SPELL_SUMMON_WILLOWISP" SPELL_SUMMON_WOLF = "SPELL_SUMMON_WOLF" SPELL_SUMMON_BLACK_WOLF = "SPELL_SUMMON_BLACK_WOLF" SPELL_SUMMON_WHITE_WOLF = "SPELL_SUMMON_WHITE_WOLF" SPELL_SUMMON_ZOMBIE = "SPELL_SUMMON_ZOMBIE" SPELL_SUMMON_VILE_ZOMBIE = "SPELL_SUMMON_VILE_ZOMBIE" SPELL_SUMMON_DEMON = "SPELL_SUMMON_DEMON" SPELL_SUMMON_LICH = "SPELL_SUMMON_LICH" SPELL_SUMMON_DRYAD = "SPELL_SUMMON_DRYAD" SPELL_SUMMON_URCHIN_SHAMAN = "SPELL_SUMMON_URCHIN_SHAMAN" SPELL_SWAP = "SPELL_SWAP" SPELL_TAG = "SPELL_TAG" SPELL_TELEPORT_OTHER_TO_MARK_1 = "SPELL_TELEPORT_OTHER_TO_MARK_1" SPELL_TELEPORT_OTHER_TO_MARK_2 = "SPELL_TELEPORT_OTHER_TO_MARK_2" SPELL_TELEPORT_OTHER_TO_MARK_3 = "SPELL_TELEPORT_OTHER_TO_MARK_3" SPELL_TELEPORT_OTHER_TO_MARK_4 = "SPELL_TELEPORT_OTHER_TO_MARK_4" SPELL_TELEPORT_POP = "SPELL_TELEPORT_POP" SPELL_TELEPORT_TO_MARK_1 = "SPELL_TELEPORT_TO_MARK_1" SPELL_TELEPORT_TO_MARK_2 = "SPELL_TELEPORT_TO_MARK_2" SPELL_TELEPORT_TO_MARK_3 = "SPELL_TELEPORT_TO_MARK_3" SPELL_TELEPORT_TO_MARK_4 = "SPELL_TELEPORT_TO_MARK_4" SPELL_TELEPORT_TO_TARGET = "SPELL_TELEPORT_TO_TARGET" SPELL_TELEKINESIS = "SPELL_TELEKINESIS" SPELL_TOXIC_CLOUD = "SPELL_TOXIC_CLOUD" SPELL_TRIGGER_GLYPH = "SPELL_TRIGGER_GLYPH" SPELL_VAMPIRISM = "SPELL_VAMPIRISM" SPELL_VILLAIN = "SPELL_VILLAIN" SPELL_WALL = "SPELL_WALL" SPELL_WINK = "SPELL_WINK" SPELL_SUMMON_CREATURE = "SPELL_SUMMON_CREATURE" SPELL_MARK_LOCATION = "SPELL_MARK_LOCATION" SPELL_TELEPORT_TO_MARKER = "SPELL_TELEPORT_TO_MARKER" )
const ( HELMET = "HELMET" SHIELD = "SHIELD" BREASTPLATE = "BREASTPLATE" ARM_ARMOR = "ARM_ARMOR" PANTS = "PANTS" BOOTS = "BOOTS" SHIRT = "SHIRT" LEG_ARMOR = "LEG_ARMOR" BACK = "BACK" //FLAG = "FLAG" QUIVER = "QUIVER" CROSSBOW = "CROSSBOW" ARROW = "ARROW" BOLT = "BOLT" CHAKRAM = "CHAKRAM" SHURIKEN = "SHURIKEN" SWORD = "SWORD" LONG_SWORD = "LONG_SWORD" GREAT_SWORD = "GREAT_SWORD" MACE = "MACE" OGRE_AXE = "OGRE_AXE" HAMMER = "HAMMER" STAFF = "STAFF" STAFF_SULPHOROUS_FLARE = "STAFF_SULPHOROUS_FLARE" STAFF_SULPHOROUS_SHOWER = "STAFF_SULPHOROUS_SHOWER" STAFF_LIGHTNING = "STAFF_LIGHTNING" STAFF_FIREBALL = "STAFF_FIREBALL" STAFF_TRIPLE_FIREBALL = "STAFF_TRIPLE_FIREBALL" STAFF_FORCE_OF_NATURE = "STAFF_FORCE_OF_NATURE" STAFF_DEATH_RAY = "STAFF_DEATH_RAY" STAFF_OBLIVION_HALBERD = "STAFF_OBLIVION_HALBERD" STAFF_OBLIVION_HEART = "STAFF_OBLIVION_HEART" STAFF_OBLIVION_WIERDLING = "STAFF_OBLIVION_WIERDLING" STAFF_OBLIVION_ORB = "STAFF_OBLIVION_ORB" SMALL_MONSTER = "SMALL_MONSTER" MEDIUM_MONSTER = "MEDIUM_MONSTER" LARGE_MONSTER = "LARGE_MONSTER" SHOPKEEPER = "SHOPKEEPER" NPC = "NPC" FEMALE_NPC = "FEMALE_NPC" UNDEAD = "UNDEAD" MONITOR = "MONITOR" MIGRATE = "MIGRATE" IMMUNE_POISON = "IMMUNE_POISON" IMMUNE_FIRE = "IMMUNE_FIRE" IMMUNE_ELECTRICITY = "IMMUNE_ELECTRICITY" IMMUNE_FEAR = "IMMUNE_FEAR" BOMBER = "BOMBER" NO_TARGET = "NO_TARGET" NO_SPELL_TARGET = "NO_SPELL_TARGET" HAS_SOUL = "HAS_SOUL" WARCRY_STUN = "WARCRY_STUN" LOOK_AROUND = "LOOK_AROUND" WOUNDED_NPC = "WOUNDED_NPC" //SIMPLE = "SIMPLE" APPLE = "APPLE" POTION = "POTION" HEALTH_POTION = "HEALTH_POTION" MANA_POTION = "MANA_POTION" CURE_POISON_POTION = "CURE_POISON_POTION" MUSHROOM = "MUSHROOM" HASTE_POTION = "HASTE_POTION" INVISIBILITY_POTION = "INVISIBILITY_POTION" SHIELD_POTION = "SHIELD_POTION" FIRE_PROTECT_POTION = "FIRE_PROTECT_POTION" SHOCK_PROTECT_POTION = "SHOCK_PROTECT_POTION" POISON_PROTECT_POTION = "POISON_PROTECT_POTION" INVULNERABILITY_POTION = "INVULNERABILITY_POTION" INFRAVISION_POTION = "INFRAVISION_POTION" VAMPIRISM_POTION = "VAMPIRISM_POTION" HEAVY = "HEAVY" LAVA = "LAVA" GATE = "GATE" VISIBLE_OBELISK = "VISIBLE_OBELISK" INVISIBLE_OBELISK = "INVISIBLE_OBELISK" TECH = "TECH" LOTD = "LOTD" USEABLE = "USEABLE" CHEST_NW = "CHEST_NW" CHEST_NE = "CHEST_NE" CHEST_SE = "CHEST_SE" CHEST_SW = "CHEST_SW" STONE_DOOR = "STONE_DOOR" SPELL_BOOK = "SPELL_BOOK" FIELD_GUIDE = "FIELD_GUIDE" ABILITY_BOOK = "ABILITY_BOOK" MISSILE_COUNTERSPELL = "MISSILE_COUNTERSPELL" //MAGIC = "MAGIC" GENERATOR_NW = "GENERATOR_NW" GENERATOR_NE = "GENERATOR_NE" GENERATOR_SE = "GENERATOR_SE" GENERATOR_SW = "GENERATOR_SW" QUEST_EXIT = "QUEST_EXIT" QUEST_WARP_EXIT = "QUEST_WARP_EXIT" FLESH = "FLESH" CLOTH = "CLOTH" ANIMAL_HIDE = "ANIMAL_HIDE" WOOD = "WOOD" METAL = "METAL" STONE = "STONE" EARTH = "EARTH" LIQUID = "LIQUID" GLASS = "GLASS" PAPER = "PAPER" SNOW = "SNOW" MUD = "MUD" MAGIC = "MAGIC" DIAMOND = "DIAMOND" NONE = "NONE" )
const ( NORMAL = "NORMAL" NEXT = "NEXT" YESNO = "YESNO" YESNONEXT = "YESNONEXT" )
const ( Goodbye = 0 Yes = 1 No = 2 )
const OTHER = ObjectID(-1)
OTHER object id.
This constant can be used any place where an object id is used.
const SELF = ObjectID(-2)
SELF object id.
This constant can be used any place where an object id is used.
Variables ¶
This section is empty.
Functions ¶
func AggressionLevel ¶
AggressionLevel sets creature's aggression level.
This will set a creature's aggression level. The most commonly used value is 0.83.
func AudioEvent ¶
func AudioEvent(name AudioName, wp WaypointID)
AudioEvent plays an audio event at a location.
func AwardSpell ¶
AwardSpell award spell level to object.
This will raise the spell level of the object. If the object can not cast this spell then it will have no effect.
func CancelTimer ¶
CancelTimer cancel a timer. Returns true on success.
func CastSpellLocationLocation ¶
CastSpellLocationLocation casts a spell from source to target.
func CastSpellLocationObject ¶
CastSpellLocationObject casts a spell from source to target.
func CastSpellObjectLocation ¶
CastSpellObjectLocation casts a spell from source to target.
func CastSpellObjectObject ¶
CastSpellObjectObject casts a spell from source to target.
Example usage:
ns.CastSpellOn("SPELL_DEATH_RAY", ns.Object("CruelDude"), ns.GetHost())
func ChangeGold ¶
ChangeGold changes amount of gold for player object. Delta can be negative.
func ChangeScore ¶
ChangeScore changes player object's score.
func Chat ¶
Chat causes an object to say a localized string.
This will display a localized in string a speech bubble. If the string is not in the database string, it will instead print an error message with "MISSING:".
func ChatTimer ¶
ChatTimer causes an object to say a localized for string duration in frames.
This will display a localized in string a speech bubble. If the string is not in the database string, it will instead print an error message with "MISSING:".
func ChatTimerSeconds ¶
ChatTimerSeconds causes an object to say a localized for string duration in seconds.
This will display a localized in string a speech bubble. If the string is not in the database string, it will instead print an error message with "MISSING:".
func ClearMessages ¶
func ClearMessages(id ObjectID)
ClearMessages clears messages on player's screen.
func CreatureFollow ¶
CreatureFollow causes creature to follow an object.
This will cause a creature to follow target, and it won't attack anything unless disrupted or instructed to.
func CreatureGroupFollow ¶
func CreatureGroupFollow(objectGroup ObjectGroupID, target ObjectID)
CreatureGroupFollow causes creatures in a group to follow an object.
This will cause the creatures to follow target, and they won't attack anything unless disrupted or instructed to.
func CreatureGroupGuard ¶
func CreatureGroupGuard(objectGroup ObjectGroupID, x1, y1, x2, y2 float32, distance float32)
CreatureGroupGuard causes creatures in a group to guard a location.
This is the same as CreatureGuard but applies to creatures in a group.
func CreatureGroupHunt ¶
func CreatureGroupHunt(objectGroup ObjectGroupID)
CreatureGroupHunt causes creatures in a group to hunt.
func CreatureGroupIdle ¶
func CreatureGroupIdle(objectGroup ObjectGroupID)
CreatureGroupIdle causes creatures in a group to idle.
func CreatureGuard ¶
CreatureGuard causes a creature to guard a location.
This will cause a creature to move to a location, guard a nearby location, and attack any enemies that move within range of the guarded location.
func Damage ¶
func Damage(target ObjectID, source ObjectID, amount int, typ DamageType)
Damage an object.
This will damage the target with a given source object, amount, and damage type.
See DamageType for details.
func DeathScreen ¶
func DeathScreen(which int)
DeathScreen shows death screen. Screen to show is in range 1-11.
func DeleteObjectTimer ¶
DeleteObjectTimer deletes object after a delay.
func Effect ¶
Effect trigger an effect
This will trigger an effect from point (x1,y1) to (x2,y2). Some effects only have one point, in which case (x2,y2) is ignored.
func Enchant ¶
Enchant grants object an enchantment.
This will grant an object an enchantment of a specified duration.
func EnchantOff ¶
EnchantOff removes enchant from an object.
func EndGame ¶
func EndGame(typ int)
EndGame ends of game.
Type is one of:
0=Warrior 1=Wizard 2=Conjurer
func FloatToString
deprecated
func GetCharacterData
deprecated
func GetElevatorStatus ¶
GetElevatorStatus gets elevator status.
func GetQuestStatusFloat ¶
GetQuestStatusFloat get quest status (int).
func GetWaypointX ¶
func GetWaypointX(waypoint WaypointID) float32
GetWaypointX gets waypoint X coordinate.
func GetWaypointY ¶
func GetWaypointY(waypoint WaypointID) float32
GetWaypointY gets waypoint Y coordinate.
func GoBackHome ¶
func GoBackHome(id ObjectID)
GoBackHome causes object to move to its starting location.
func GroupAggressionLevel ¶
func GroupAggressionLevel(objectGroup ObjectGroupID, level float32)
GroupAggressionLevel sets group of creature's aggression level.
This will set a group of creature's aggression level. The most commonly used value is 0.83.
func GroupAttack ¶
func GroupAttack(objectGroup ObjectGroupID, target ObjectID)
GroupAttack attacks an object.
func GroupAwardSpell ¶
func GroupAwardSpell(objectGroup ObjectGroupID, spellID Spell)
GroupAwardSpell awards spell level to objects in a group.
This will raise the spell level of the objects in the group. If an object can not cast this spell then it will have no effect on that object.
func GroupCreateMover ¶
func GroupCreateMover(objectGroup ObjectGroupID, waypoint WaypointID, speed float32)
GroupCreateMover creates a Mover for every object in a group.
func GroupDamage ¶
func GroupDamage(targetGroup ObjectGroupID, source ObjectID, amount int, typ DamageType)
GroupDamage damages objects in a group.
This will damage the target objects with a given source object, amount, and damage type.
See DamageType for details.
func GroupDelete ¶
func GroupDelete(objectGroup ObjectGroupID)
GroupDelete deletes objects in a group.
func GroupEnchant ¶
func GroupEnchant(id ObjectGroupID, enchantID EnchantID, duration float32)
GroupEnchant grants objects in a group an enchantment.
This will grant the objects in a group an enchantment of a specified duration.
func GroupHitFarLocation ¶
func GroupHitFarLocation(objectGroup ObjectGroupID, x, y float32)
GroupHitFarLocation ranged attacks a location.
func GroupHitLocation ¶
func GroupHitLocation(objectGroup ObjectGroupID, x, y float32)
GroupHitLocation melee attacks a location.
func GroupIsOwnedBy ¶
func GroupIsOwnedBy(owner ObjectID, target ObjectGroupID) bool
GroupIsOwnedBy gets whether any object in target group is owned by object.
func GroupIsOwnedByAny ¶
func GroupIsOwnedByAny(owners ObjectGroupID, target ObjectGroupID) bool
GroupIsOwnedByAny gets whether any object in target is owned by any object in the group.
func GroupLookAtDirection ¶
func GroupLookAtDirection(objectGroup ObjectGroupID, direction Direction)
GroupLookAtDirection causes objects in a group to look in a direction.
See Direction for details.
func GroupMove ¶
func GroupMove(objectGroup ObjectGroupID, waypoint WaypointID)
GroupMove moves objects in a group to a waypoint.
This moves the objects in a group to a waypoint. The objects must be movable or attached to a "Mover". If the waypoint is linked, the objects will continue to move once they reach the first waypoint.
func GroupPauseObject ¶
func GroupPauseObject(objectGroup ObjectGroupID, duration int)
GroupPauseObject pauses objects of a group temporarily.
func GroupResumeLevel ¶
func GroupResumeLevel(objectGroup ObjectGroupID, percent float32)
GroupResumeLevel sets when creature resumes due to health.
This will cause the creatures to stop retreating if its health is above the specified percentage.
Percent health ratio is in range 0.0-1.0.
func GroupRetreatLevel ¶
func GroupRetreatLevel(objectGroup ObjectGroupID, percent float32)
GroupRetreatLevel sets when creature retreats due to low health.
This will cause the creatures to retreat if its health falls below the specified percentage.
Percent low health ratio is in range 0.0-1.0.
func GroupRunAway ¶
func GroupRunAway(objectGroup ObjectGroupID, target ObjectID, duration int)
GroupRunAway causes creatures to run away from target.
func GroupSetOwner ¶
func GroupSetOwner(owner ObjectID, targets ObjectGroupID)
GroupSetOwner sets the owner of objects in a group.
This is the same as SetOwner but with a object group as the target.
func GroupSetOwners ¶
func GroupSetOwners(owners ObjectGroupID, targets ObjectGroupID)
GroupSetOwners sets the objects in a group as owners of target.
This is the same as SetOwners but with a object group as the target.
func GroupSetRoamFlag ¶
func GroupSetRoamFlag(objectGroup ObjectGroupID, flags int)
GroupSetRoamFlag sets roaming flags.
Flags a 8-bit value (default is 0x80).
func GroupWalk ¶
func GroupWalk(objectGroup ObjectGroupID, x, y float32)
GroupWalk causes objects in a group to walk to a location.
func GroupWander ¶
func GroupWander(objectGroup ObjectGroupID)
GroupWander cause objects in a group to wander.
func HasEnchant ¶
HasEnchant gets whether object has an enchant.
func HasSubclass ¶
HasSubclass gets whether object has subclass.
This will test whether an item has a specific subclass. The subclass overlaps, so you should probably test for the class first (HasClass).
func HitFarLocation ¶
HitFarLocation ranged attacks a location.
func HitLocation ¶
HitLocation melee attacks a location.
func IntToString
deprecated
func IsAttackedBy ¶
IsAttackedBy gets whether object1 is being attacked by object2.
func IsLocked ¶
IsLocked gets whether object is locked.
This will return whether an object is locked. It works with any kind of lock.
func IsOwnedByAny ¶
func IsOwnedByAny(owners ObjectGroupID, target ObjectID) bool
IsOwnedByAny gets whether target is owned by any object in the group.
func IsSummoned ¶
IsSummoned gets whether object is a summoned creature.
func IsTrading ¶
func IsTrading() bool
IsTrading gets whether the host is currently trading.
This will return whether the host is currently talking to shopkeeper.
func IsVisibleTo ¶
IsVisibleTo gets whether an object can see another object.
This will first check if the location of the objects are within 512 of each other coordinate-wise. It not, it returns false.
It then checks whether the first object can see the second object.
func IsWaypointOn ¶
func IsWaypointOn(waypoint WaypointID) bool
IsWaypointOn gets whether waypoint is enabled.
func JournalDelete ¶
JournalDelete deletes entry from player's journal.
This will delete the first entry from a player object's journal whose message matches the specified message. If the player object id is 0, then all players are affected.
func JournalEdit ¶
JournalEdit edits entry in player's journal.
This will modify the first entry in a player object's journal whose message matches the specified message. If the player object id is 0, then all players are affected.
func JournalEntry ¶
JournalEntry adds entry to player's journal.
This will add an entry to a player object's journal. The can string be any string, but should be less than 64 characters. The is string displayed according to the specified type:
0 = Green text, no sound 1 = White text 2 = Red text with quest label 3 = Green text 4 = Grey text with completed label 8 = Yellow text with hint label
If the player object id is 0, then it will add the journal entry to all players.
func LockDoor ¶
func LockDoor(id ObjectID)
LockDoor locks a door.
This will lock a door. It has no effect if the object is not a door.
func LookAtDirection ¶
LookAtDirection causes object to look in a direction.
See Direction for details.
func LookAtObject ¶
LookAtObject sets direction of object so it is looking at another object.
func LookWithAngle ¶
LookWithAngle sets an object's direction.
This will set an object's direction. The direction is an angle represented as an integer between 0 and 255. Due east is 0, and the angle increases as the object turns clock-wise.
Angle is a number between 0 and 255.
func Move ¶
func Move(id ObjectID, waypoint WaypointID)
Move an object to a waypoint.
This moves an object to a waypoint. The object must be movable or attached to a "Mover". If the waypoint is linked, the object will continue to move once it reaches the first waypoint.
func MoveWaypoint ¶
func MoveWaypoint(waypoint WaypointID, x, y float32)
MoveWaypoint sets a waypoint's location.
func MusicEvent ¶
func MusicEvent()
func MusicPopEvent ¶
func MusicPopEvent()
func MusicPushEvent ¶
func MusicPushEvent()
func ObjectGroupOff ¶
func ObjectGroupOff(objectGroup ObjectGroupID)
ObjectGroupOff disables objects in a group.
func ObjectGroupOn ¶
func ObjectGroupOn(objectGroup ObjectGroupID)
ObjectGroupOn enables objects in a group.
func ObjectGroupToggle ¶
func ObjectGroupToggle(objectGroup ObjectGroupID)
ObjectGroupToggle toggles objects in group.
func PauseObject ¶
PauseObject pauses an object temporarily.
func Print ¶
func Print(message string)
Print displays a localized string.
This will display on a localized on string the screen of OTHER. If the string is not in the database string, it will instead print an error message with "MISSING:".
func PrintToAll ¶
func PrintToAll(message string)
PrintToAll displays a localized to string everyone.
This will display on a localized on string everyone's screen. If the string is not in the database string, it will instead print an error message with "MISSING:".
func PushObject ¶
PushObject pushes an object from a vector and magnitude.
This will calculate a unit vector from the object's location to the specified location, and multiply it by the specified magnitude. This vector will be added to the object's location.
func PushObjectTo ¶
PushObjectTo pushes an object to a location.
func Raise ¶
Raise sets an object's Z coordinate.
This will set an object's Z coordinate and then let the object fall down.
func RaiseZombie ¶
func RaiseZombie(id ObjectID)
RaiseZombie raises a zombie. Also clears stay down state.
func RaiseZombieGroup ¶
func RaiseZombieGroup(objectGroup ObjectGroupID)
RaiseZombieGroup raises a zombie. Also clears stay down state.
func ResetQuestStatus ¶
func ResetQuestStatus(name string)
ResetQuestStatus deletes quest status.
This will delete a quest status. The name can be a wildcard with an asterisk or with a map name.
TODO: what is the wildcard syntax?
func RestoreHealth ¶
RestoreHealth restores object's health.
func ResumeLevel ¶
ResumeLevel sets when creature resumes due to health.
This will cause the creature to stop retreating if its health is above the specified percentage.
Percent health ratio is in range 0.0-1.0.
func RetreatLevel ¶
RetreatLevel sets when creature retreats due to low health.
This will cause the creature to retreat if its health falls below the specified percentage.
Percent low health ratio is in range 0.0-1.0.
func SetCallback ¶
SetCallback sets a callback on an object.
This will set a function script to call for an event. The callback index is one of the following:
3 = Enemy sighted 4 = Looking for enemy 5 = Death 6 = Change focus 7 = Is hit 8 = Retreat 9 = Collision 10 = Enemy heard 11 = End of waypoint 13 = Lost sight of enemy
No other indexes are defined.
func SetDialog ¶
func SetDialog(id ObjectID, typ DialogType, start Func, end Func)
SetDialog sets up a conversation with object.
This will cause a conversation with the object. The type of conversation is one of: NORMAL, NEXT, YESNO, YESNONEXT. The start and end are script functions that are called at the start and end of the conversation.
If using a YESNO conversation, the end script function should use ::GetAnswer to retrieve the result.
func SetHalberd ¶
func SetHalberd(upgrade int)
SetHalberd upgrades host's oblivion staff.
This will upgrade the oblivion staff. The upgrades are:
0 = OblivionHalberd 1 = OblivionHeart 2 = OblivionWierdling 3 = OblivionOrb
func SetOwner ¶
SetOwner sets the owner of an object.
This will make an object the owner of the target. This will make the target friendly to the owner, and it will accredit the target's kills to the owner.
For example, in a multiplayer map, you might have a switch that activates a hazard. You can use this so that if the hazard kills anyone, the player who activated the hazard gets the credit.
func SetOwners ¶
func SetOwners(owners ObjectGroupID, target ObjectID)
SetOwners sets the objects in a group as owners of target.
This is the same as SetOwner but with a object group as the owner.
func SetQuestStatus ¶
SetQuestStatus sets quest status (int).
func SetQuestStatusFloat ¶
SetQuestStatusFloat sets quest status (float).
func SetShopkeeperText ¶
SetShopkeeperText sets shopkeeper text.
func StartDialog ¶
StartDialog starts a conversation between two objects.
This requires that SetDialog has already been used to setup the conversation on the NPC object.
func TellStory ¶
TellStory causes the telling of a story.
This will cause a story to be told. It relies on SELF and OTHER to be particular values, which limits this to being used in the SetDialog callbacks.
Example usage:
ns.TellStory("SwordsmanHurt", "Con05:OgreTalk07")
func TrapSpells ¶
TrapSpells sets spells on a bomber.
func Unknownc4
deprecated
func Unknownc4()
Unknownc4 is not used in scripts. Does nothing, but kept for compatibility.
Deprecated: does nothing, compatibility only.
func UnlockDoor ¶
func UnlockDoor(id ObjectID)
UnlockDoor unlocks a door.
This will unlock a door. It has no effect if the object is not a door.
func Unused50
deprecated
func Unused50()
Unused50 is not used in scripts. Does nothing, but kept for compatibility.
Deprecated: does nothing, compatibility only.
func WallBreak ¶
func WallBreak(wall WallID)
WallBreak breaks a wall.
This will break a wall. The wall must be breakable.
func WallGroupBreak ¶
func WallGroupBreak(g WallGroupID)
WallGroupBreak breaks walls in a group.
This will break walls in a group. The walls must be breakable.
func WallGroupToggle ¶
func WallGroupToggle(g WallGroupID)
WallGroupToggle toggles walls in a group.
This will toggle a wall group between opened and closed.
func WallToggle ¶
func WallToggle(wall WallID)
WallToggle toggles a wall.
This will toggle wall between opened and closed.
func Wander ¶
func Wander(id ObjectID)
Wander causes an object to wander.
This will cause a NPC or monster to wander.
func WayPointGroupOff ¶
func WayPointGroupOff(waypointGroup WaypointGroupID)
WayPointGroupOff disables waypoints in a group.
func WayPointGroupOn ¶
func WayPointGroupOn(waypointGroup WaypointGroupID)
WayPointGroupOn enables waypoints in a group.
func WayPointGroupToggle ¶
func WayPointGroupToggle(waypointGroup WaypointGroupID)
WayPointGroupToggle toggles whether objects in group are disabled.
func WideScreen ¶
func WideScreen(value bool)
func ZombieGroupStayDown ¶
func ZombieGroupStayDown(objectGroup ObjectGroupID)
ZombieGroupStayDown sets group of zombies to stay down.
Types ¶
type DamageType ¶
type DamageType = int
type DialogType ¶
type DialogType = string
type Direction ¶
type Direction = int
type ObjectGroupID ¶
type ObjectGroupID int
func ObjectGroup ¶
func ObjectGroup(name string) ObjectGroupID
ObjectGroup looks up object group by name.
func (ObjectGroupID) ObjGroupScriptID ¶
func (id ObjectGroupID) ObjGroupScriptID() int
func (ObjectGroupID) ScriptID ¶
func (id ObjectGroupID) ScriptID() int
type ObjectID ¶
type ObjectID int
func CreateMover ¶
func CreateMover(id ObjectID, waypoint WaypointID, speed float32) ObjectID
CreateMover creates a Mover for an object.
func CreateObject ¶
func CreateObject(typ string, waypoint WaypointID) ObjectID
CreateObject creates an object at a location.
This will create an object given a type and a starting location.
Example usage:
spider := ns.CreateObject("SmallAlbinoSpider", ns.Waypoint("SpiderHole"))
func GetHolder ¶
GetHolder gets the holder of an item.
This will return the object id that contains the item in its inventory.
func GetHost ¶
func GetHost() ObjectID
GetHost gets host's player object.
This will return the host's player object id. The host is the player with a player id of 31.
func GetLastItem ¶
GetLastItem gets object's last inventory item.
This will return the object id of the last item in the object's inventory. If the inventory is empty, it will return 0.
This is used with GetPreviousItem to iterate through an object's inventory.
func GetPreviousItem ¶
GetPreviousItem gets previous inventory item.
This will return the object id of the previous item in the inventory from the given object id. If the specified object id is not in an inventory, or there are no more items in the inventory, it will return 0.
This is used with GetLastItem to iterate through an object's inventory.
func Object ¶
Object looks up an object by name.
This will lookup an object by its script name and return the object id.
func (ObjectID) ObjScriptID ¶
type TimerID ¶
type TimerID int
func FrameTimer ¶
FrameTimer creates a timer with delay in frames.
This will create a timer that calls the given script function after a delay given in frames.
func FrameTimerWithArg ¶
FrameTimerWithArg creates a timer with delay in frames with an argument.
This will create a timer that calls the given script function after a delay given in frames. The given argument will be passed into the script function.
func SecondTimer ¶
SecondTimer creates a timer with delay in seconds.
This will create a timer that calls the given script function after a delay given in seconds.
func SecondTimerWithArg ¶
SecondTimerWithArg creates a timer with delay in seconds with an argument.
This will create a timer that calls the given script function after a delay given in seconds. The given argument will be passed into the script function.
func (TimerID) TimerScriptID ¶
type WallGroupID ¶
type WallGroupID int
func (WallGroupID) ScriptID ¶
func (id WallGroupID) ScriptID() int
func (WallGroupID) WallGroupScriptID ¶
func (id WallGroupID) WallGroupScriptID() int
type WaypointGroupID ¶
type WaypointGroupID int
func WaypointGroup ¶
func WaypointGroup(name string) WaypointGroupID
WaypointGroup looks up waypoint group by name.
func (WaypointGroupID) ScriptID ¶
func (id WaypointGroupID) ScriptID() int
func (WaypointGroupID) WaypointGroupScriptID ¶
func (id WaypointGroupID) WaypointGroupScriptID() int
type WaypointID ¶
type WaypointID int
func (WaypointID) ScriptID ¶
func (id WaypointID) ScriptID() int
func (WaypointID) WaypointScriptID ¶
func (id WaypointID) WaypointScriptID() int