Dota 2 Workshop Tools/Scripting/API/Global.FireGameEvent: 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 FireGameEvent(string '''', handle '''') ''' | ''' void FireGameEvent(string ''eventName'', handle ''parameterTable'') ''' | ||
''Fire a | ''Fire a pre-defined event, which can be found either in custom_events.txt or in dota's resource/*.res'' | ||
| Line 17: | Line 17: | ||
|- | |- | ||
| string | | string | ||
| | | eventName | ||
| No Description Set | | No Description Set | ||
|- | |- | ||
| handle | | handle | ||
| | | parameterTable | ||
| No Description Set | | No Description Set | ||
|} | |} | ||
Revision as of 23:07, 8 August 2014
Function Description
void FireGameEvent(string eventName, handle parameterTable)
Fire a pre-defined event, which can be found either in custom_events.txt or in dota's resource/*.res
Parameters
| Type | Name | Description |
|---|---|---|
| string | eventName | No Description Set |
| handle | parameterTable | No Description Set |