Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.AddSpeechBubble: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Dota_Lebot push: Updated Page)
 
(Dota_Lebot push: Updated Page)
Line 6: Line 6:




''' void AddSpeechBubble(int ''int_1'', string ''string_2'', float ''float_3'', unsigned ''unsigned_4'', unsigned ''unsigned_5'') '''
''' void AddSpeechBubble(int ''iBubble'', string ''pszSpeech'', float ''flDuration'', unsigned ''unOffsetX'', unsigned ''unOffsetY'') '''


''CDOTA_BaseNPC:AddSpeechBubble''
''Add a speech bubble(1-4 live at a time) to this NPC.''




Line 14: Line 14:
;Example
;Example
<source lang="lua">
<source lang="lua">
function CDOTA_BaseNPC:AddSpeechBubble( int_1, string_2, float_3, unsigned_4, unsigned_5 ) end
function CDOTA_BaseNPC:AddSpeechBubble( iBubble, pszSpeech, flDuration, unOffsetX, unOffsetY ) end
</source>
</source>
== Parameters ==
== Parameters ==
Line 23: Line 23:
|-
|-
| int
| int
| int_1
| iBubble
| No Description Set
| No Description Set
|-
|-
| string
| string
| string_2
| pszSpeech
| No Description Set
| No Description Set
|-
|-
| float
| float
| float_3
| flDuration
| No Description Set
| No Description Set
|-
|-
| unsigned
| unsigned
| unsigned_4
| unOffsetX
| No Description Set
| No Description Set
|-
|-
| unsigned
| unsigned
| unsigned_5
| unOffsetY
| No Description Set
| No Description Set
|}
|}

Revision as of 23:31, 18 June 2015

Note.pngNote: This page is automatically generated. Any changes may be overwritten

Function Description

void AddSpeechBubble(int iBubble, string pszSpeech, float flDuration, unsigned unOffsetX, unsigned unOffsetY)

Add a speech bubble(1-4 live at a time) to this NPC.


Example
function CDOTA_BaseNPC:AddSpeechBubble( iBubble, pszSpeech, flDuration, unOffsetX, unOffsetY ) end

Parameters

Type Name Description
int iBubble No Description Set
string pszSpeech No Description Set
float flDuration No Description Set
unsigned unOffsetX No Description Set
unsigned unOffsetY No Description Set