Dota 2 Workshop Tools/Scripting/API/CBaseEntity.Attribute GetFloatValue: 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: | ||
''' float Attribute_GetFloatValue(string '' | ''' float Attribute_GetFloatValue(string ''pName'', float ''flDefault'') ''' | ||
'' | ''Get float value for an entity attribute.'' | ||
Line 14: | Line 14: | ||
;Example | ;Example | ||
<source lang="lua"> | <source lang="lua"> | ||
function CBaseEntity:Attribute_GetFloatValue( pName, flDefault ) end | |||
</source> | </source> | ||
== Parameters == | == Parameters == | ||
Line 23: | Line 23: | ||
|- | |- | ||
| string | | string | ||
| | | pName | ||
| No Description Set | | No Description Set | ||
|- | |- | ||
| float | | float | ||
| | | flDefault | ||
| No Description Set | | No Description Set | ||
|} | |} | ||
Line 33: | Line 33: | ||
== Returns == | == Returns == | ||
''float'' - | ''float'' - No Description Set |
Revision as of 23:06, 18 June 2015

Function Description
float Attribute_GetFloatValue(string pName, float flDefault)
Get float value for an entity attribute.
- Example
function CBaseEntity:Attribute_GetFloatValue( pName, flDefault ) end
Parameters
Type | Name | Description |
---|---|---|
string | pName | No Description Set |
float | flDefault | No Description Set |
Returns
float - No Description Set