Dota 2 Workshop Tools/Scripting/API/Global.ExecuteOrderFromTable: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
||
Line 10: | Line 10: | ||
;Example | |||
<source lang="lua"> | |||
local newOrder = { | |||
UnitIndex = unitIndex, | |||
OrderType = order, | |||
TargetIndex = targetIndex, | |||
AbilityIndex = abilityIndex, | |||
Position = position, | |||
Queue = queue | |||
} | |||
</source> | |||
== Parameters == | == Parameters == | ||
{| class="standard-table" style="width: 50%;" | {| class="standard-table" style="width: 50%;" |
Revision as of 00:51, 9 August 2014

Function Description
void ExecuteOrderFromTable(handle a)
Issue an order from a script table
- Example
local newOrder = {
UnitIndex = unitIndex,
OrderType = order,
TargetIndex = targetIndex,
AbilityIndex = abilityIndex,
Position = position,
Queue = queue
}
Parameters
Type | Name | Description |
---|---|---|
handle | a | No Description Set |