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 4: | Line 4: | ||
''' void SetSpawnCallback(handle '''', handle '''') ''' | ''' void SetSpawnCallback(handle ''a'', handle ''b'') ''' | ||
''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 17: | Line 17: | ||
|- | |- | ||
| handle | | handle | ||
| | | a | ||
| No Description Set | | No Description Set | ||
|- | |- | ||
| handle | | handle | ||
| | | b | ||
| No Description Set | | No Description Set | ||
|} | |} |
Revision as of 00:20, 9 August 2014

Function Description
void SetSpawnCallback(handle a, handle b)
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 | a | No Description Set |
handle | b | No Description Set |