Dota 2 Workshop Tools/Scripting/API/CPointTemplate.SetSpawnCallback: 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 SetSpawnCallback(handle '' | ''' void SetSpawnCallback(handle ''hCallbackFunc'', handle ''hCallbackScope'') ''' | ||
''SetSpawnCallback( hCallbackFunc, hCallbackScope, hCallbackData ) : Set a callback for when the template spawns entities. The spawned entities will be passed in as an array.'' | ''SetSpawnCallback( hCallbackFunc, hCallbackScope, hCallbackData ) : Set a callback for when the template spawns entities. The spawned entities will be passed in as an array.'' | ||
Line 19: | Line 19: | ||
|- | |- | ||
| handle | | handle | ||
| | | hCallbackFunc | ||
| No Description Set | | No Description Set | ||
|- | |- | ||
| handle | | handle | ||
| | | hCallbackScope | ||
| No Description Set | | No Description Set | ||
|} | |} |
Revision as of 16:37, 20 June 2015

Function Description
void SetSpawnCallback(handle hCallbackFunc, handle hCallbackScope)
SetSpawnCallback( hCallbackFunc, hCallbackScope, hCallbackData ) : Set a callback for when the template spawns entities. The spawned entities will be passed in as an array.
Parameters
Type | Name | Description |
---|---|---|
handle | hCallbackFunc | No Description Set |
handle | hCallbackScope | No Description Set |