# Available Packages:

Back to index
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/Wurst
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Ability
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Boolexpr
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Camera
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Destructable
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Dialog
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Effect
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Fogmodifier
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Force
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/ForceTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Framehandle
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/GameCache
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/GameCacheTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Group
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/GroupTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Hashtable
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/HashtableTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Image
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Item
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Lightning
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Multiboard
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Player
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Playercolor
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Quest
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/QuestItem
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/QuestItemTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/QuestTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Rect
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Region
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Sound
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Texttag
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Timer
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/TimerDialog
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Trigger
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Unit
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Weather
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Widget
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/_Handles
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/Boolean
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/Integer
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/PrimitivesTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/Real
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/Reference
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/String
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/StringTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/_Primitives
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/Annotations
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/Basics
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/ErrorHandling
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/MagicFunctions
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/Reflection
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/TypeCasting
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/Wurstunit
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Abilities
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/AbilityIds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Assets
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/AttachmentPoints
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/BuffIds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Buildings
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Doodads
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Environment
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/FramehandleNames
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Icons
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/ItemIds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Objects
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/OrderIds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Orders
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/PathingMaps
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Sounds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Soundsets
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Textures
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Tiles
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/UI
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/UnitAnimations
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/UnitIds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Units
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/WeatherEffects
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/ClosureEvents
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/ClosureEventsTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/ClosureForGroups
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/ClosureFrames
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/ClosureKeyPresses
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/ClosureTimers
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/Execute
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/BitSet
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/HashList
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/HashListTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/HashMap
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/HashMapTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/HashSet
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/HashSetTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/LinkedList
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/LinkedListModule
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/LinkedListModuleTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/LinkedListTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/Table
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/dummy/DummyCaster
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/dummy/DummyDamage
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/dummy/DummyRecycler
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/dummy/Fx
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/dummy/Fx2
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/dummy/InstantDummyCaster
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/event/DamageDetection
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/event/DamageEvent
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/event/EventHelper
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/event/LastOrder
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/event/OnUnitEnterLeave
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/event/RegisterEvents
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/Base64
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/Base64Tests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/ByteBuffer
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/ChunkedString
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/FileIO
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/GameStatus
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/SaveLoadData
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/Serializable
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/SyncSimple
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Angle
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/BigNum
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Bitwise
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/BitwiseInit
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/BitwiseTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Interpolation
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Maths
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Matrices
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/MatricesTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Quaternion
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/QuaternionTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Raycast
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Vectors
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/AbilityObjEditing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/BuffObjEditing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/DestructableObjEditing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/ItemObjEditing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/ObjEditingCommons
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/ObjEditingNatives
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/ObjectIds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/TargetsAllowed
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/UnitObjEditing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/UpgradeObjEditing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/presets/ChannelAbilityPreset
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/presets/HeroPreset
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/presets/ObjectIdGenerator
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/presets/OrderStringFactory
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Board
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Cinematic
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Colors
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/DialogBox
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/EffectUtils
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/GameTimer
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/GroupUtils
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Knockback3
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/MapBounds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Preloader
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Printing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/SafetyChecks
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Simulate3dSound
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/SoundUtils
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/StandardTextTags
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/StringUtils
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/StringUtilsTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/TerrainUtils
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Time
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/TimerUtils
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/UnitIndexer

# EventHelper

Source

### function static unit.clearRegister()

Source

### function static trigger.getSource() returns unit

Source

### function static trigger.getSourceRect() returns rect

Source

### function static eventid.isKeyboardEvent() returns boolean

Source

### function static eventid.isMouseEvent() returns boolean

Source

### function static eventid.isPlayerunitEvent() returns boolean

Source

### function static region.loadRegionData() returns int

Source

### function static trigger.registerRectEnterEventSource(rect r)

Source

### function static trigger.registerRectLeaveEventSource(rect r)

Source

### function static trigger.registerUnitInRangeSource(unit whichUnit, real range, boolexpr filter) returns event

Source

### function static trigger.registerUnitInRangeSource(unit whichUnit, real range) returns event

Source

### function static region.removeRegionData()

Source

### function static region.setRegionData(int data)

Source

### function static trigger.unregisterRectEvent()

Source

## class EventData

Source

This class exposes all Getters and Setters for trigger events. Note: As these functions simply wrap natives, they will only return proper values during event callbacks (actions/conditions). To use these values in a subsequent closure, save the event data in a variable at the time the event was fired.

### function getAbilityTargetPos() returns vec2

Source

### function getAbsorbingItem() returns item

Source

### function getAttackerUnit() returns unit

Source

### function getBuyingUnit() returns unit

Source

### function getCancelledStructure() returns unit

Source

Returns the building which was being constructed but as cancelled.

### function getChangingUnit() returns unit

Source

### function getChangingUnitPreviousOwnerPlayer() returns player

Source

### function getChatMessage() returns string

Source

### function getChatMessageMatched() returns string

Source

### function getClickedDialog() returns dialog

Source

### function getClickedDialogButton() returns button

Source

### function getConstructedStructure() returns unit

Source

Returns the building which is being constructed.

### function getConstructingStructure() returns unit

Source

Returns the unit which constructs the structure.

### function getDamageAttackType() returns attacktype

Source

### function getDamageTarget() returns unit

Source

### function getDamageType() returns damagetype

Source

### function getDamageWeaponType() returns weapontype

Source

### function getDecayingUnit() returns unit

Source

### function getDetectedUnit() returns unit

Source

### function getDetectingPlayer() returns player

Source

### function getDyingUnit() returns unit

Source

### function getEnteringUnit() returns unit

Source

### function getEventDamage() returns real

Source

Return damage done by Unit to another target unit.

### function getEventDamageSource() returns unit

Source

### function getEventId() returns eventid

Source

Get trigger event.

### function getEventTargetUnit() returns unit

Source

### function getExpiredTimer() returns timer

Source

### function getGameState() returns gamestate

Source

### function getIsKeyDown() returns boolean

Source

### function getIssuedOrderId() returns int

Source

### function getKillingUnit() returns unit

Source

### function getLearnedSkill() returns int

Source

### function getLearnedSkillLevel() returns int

Source

### function getLearningUnit() returns unit

Source

### function getLeavingUnit() returns unit

Source

### function getLevelingUnit() returns unit

Source

### function getLoadedUnit() returns unit

Source

Get unit thas is loaded to transport.

### function getManipulatedItem() returns item

Source

### function getManipulatingUnit() returns unit

Source

EVENT_PLAYER_UNIT_DROP_ITEM EVENT_PLAYER_UNIT_PICKUP_ITEM EVENT_PLAYER_UNIT_USE_ITEM EVENT_UNIT_DROP_ITEM EVENT_UNIT_PICKUP_ITEM EVENT_UNIT_USE_ITEM

### function getMouseWorldPos() returns vec2

Source

Returns player's mouse position on screen. Do not confuse with getMouseLocationVec2.

### function getOrderPos() returns vec2

Source

### function getOrderTargetDestructable() returns destructable

Source

### function getOrderTargetItem() returns item

Source

### function getOrderTargetPos() returns vec2

Source

### function getOrderTargetUnit() returns unit

Source

### function getOrderTargetWidget() returns widget

Source

### function getOrderX() returns real

Source

### function getOrderY() returns real

Source

### function getOrderedUnit() returns unit

Source

### function getPlayerMouseX() returns real

Source

Return player's mouse X position on the terrain. Alternative: getMouseScreenVec2.

### function getPlayerMouseY() returns real

Source

Return player's mouse Y position on the terrain. Alternative: getMouseScreenVec2.

### function getPlayerState() returns playerstate

Source

### function getRescuerUnit() returns unit

Source

### function getResearchedType() returns int

Source

### function getResearchingUnit() returns unit

Source

### function getRevivableUnit() returns unit

Source

### function getRevivingUnit() returns unit

Source

### function getSaveFilename() returns string

Source

### function getSellingUnit() returns unit

Source

### function getSoldItem() returns item

Source

### function getSoldUnit() returns unit

Source

### function getSpellAbility() returns ability

Source

### function getSpellAbilityId() returns int

Source

### function getSpellAbilityUnit() returns unit

Source

### function getSpellTargetDestructable() returns destructable

Source

### function getSpellTargetItem() returns item

Source

### function getSpellTargetPos() returns vec2

Source

### function getSpellTargetUnit() returns unit

Source

### function getSpellTargetX() returns real

Source

### function getSpellTargetY() returns real

Source

### function getStackingItemSource() returns item

Source

EVENT_PLAYER_UNIT_STACK_ITEM Source is the item that is losing charges, Target is the item getting charges.

### function getStackingItemTarget() returns item

Source

EVENT_PLAYER_UNIT_STACK_ITEM Source is the item that is losing charges, Target is the item getting charges.

### function getStackingItemTargetPreviousCharges() returns int

Source

### function getSummonedUnit() returns unit

Source

### function getSummoningUnit() returns unit

Source

### function getSyncData() returns string

Source

### function getSyncPrefix() returns string

Source

### function getTournamentFinishPlayer() returns player

Source

### function getTrainedUnit() returns unit

Source

### function getTrainedUnitType() returns int

Source

### function getTransportUnit() returns unit

Source

Get unit that is transporting.

### function getTriggerDestructable() returns destructable

Source

### function getTriggerFrame() returns framehandle

Source

### function getTriggerFrameEvent() returns frameeventtype

Source

### function getTriggerKey() returns oskeytype

Source

### function getTriggerMetaKey() returns OSKEY_META

Source

### function getTriggerPlayer() returns player

Source

### function getTriggerRegion() returns region

Source

### function getTriggerUnit() returns unit

Source

### function getTriggerWidget() returns widget

Source

### function getWinningPlayer() returns player

Source

### function isAttackDamage() returns boolean

Source

Returns `true` if the damage done is done with Unit's attack.

### function isKeyboardEvent() returns boolean

Source

Check if current trigger event is Keyboard Event.

### function isManipulatedItemAbsorbed() returns boolean

Source

### function isMouseEvent() returns boolean

Source

Check if current trigger event is Mouse Event.

### function isPlayerunitEvent() returns boolean

Source

Check if current trigger event is Playerunit Event.

### function setDamage(real damage)

Source

Change damage from damage event.

### function setDamageAttackType(attacktype attackType)

Source

Change damage from damage event.

### function setDamageType(damagetype damageType)

Source

Change damage from damage event.

### function setDamageWeaponType(weapontype weaponType)

Source

Change damage from damage event.