Dota 2 Workshop Tools/Scripting/API/CBaseEntity.Attribute SetFloatValue: 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 Attribute_SetFloatValue(string ''param'', float ''value'') '''
''' void Attribute_SetFloatValue(string ''pName'', float ''flValue'') '''


''sets the entity attribute''
''Set float value for an entity attribute.''




Line 14: Line 14:
;Example
;Example
<source lang="lua">
<source lang="lua">
--some code here
function CBaseEntity:Attribute_SetFloatValue( pName, flValue ) end
</source>
</source>
== Parameters ==
== Parameters ==
Line 23: Line 23:
|-
|-
| string
| string
| param
| pName
| No Description Set
| No Description Set
|-
|-
| float
| float
| value
| flValue
| No Description Set
| No Description Set
|}
|}

Revision as of 23:06, 18 June 2015

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

Function Description

void Attribute_SetFloatValue(string pName, float flValue)

Set float value for an entity attribute.


Example
function CBaseEntity:Attribute_SetFloatValue( pName, flValue ) end

Parameters

Type Name Description
string pName No Description Set
float flValue No Description Set