Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.PerformAttack: 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 6: | Line 6: | ||
''' void PerformAttack(handle '' | ''' void PerformAttack(handle ''hTarget'', bool ''bUseCastAttackOrb'', bool ''bProcessProcs'', bool ''bSkipCooldown'', bool ''bIgnoreInvis'') ''' | ||
''Performs an attack on a target. Params: Target, bUseCastAttackOrb, bProcessProcs, bSkipCooldown, bIgnoreInvis'' | ''Performs an attack on a target. Params: Target, bUseCastAttackOrb, bProcessProcs, bSkipCooldown, bIgnoreInvis'' | ||
| Line 19: | Line 19: | ||
|- | |- | ||
| handle | | handle | ||
| | | hTarget | ||
| No Description Set | | No Description Set | ||
|- | |- | ||
| bool | | bool | ||
| | | bUseCastAttackOrb | ||
| No Description Set | | No Description Set | ||
|- | |- | ||
| bool | | bool | ||
| | | bProcessProcs | ||
| No Description Set | | No Description Set | ||
|- | |- | ||
| bool | | bool | ||
| | | bSkipCooldown | ||
| No Description Set | | No Description Set | ||
|- | |- | ||
| bool | | bool | ||
| | | bIgnoreInvis | ||
| No Description Set | | No Description Set | ||
|} | |} | ||
Revision as of 21:33, 19 June 2015
Function Description
void PerformAttack(handle hTarget, bool bUseCastAttackOrb, bool bProcessProcs, bool bSkipCooldown, bool bIgnoreInvis)
Performs an attack on a target. Params: Target, bUseCastAttackOrb, bProcessProcs, bSkipCooldown, bIgnoreInvis
Parameters
| Type | Name | Description |
|---|---|---|
| handle | hTarget | No Description Set |
| bool | bUseCastAttackOrb | No Description Set |
| bool | bProcessProcs | No Description Set |
| bool | bSkipCooldown | No Description Set |
| bool | bIgnoreInvis | No Description Set |