https://wiki.frictionalgames.com/page?title=HPL3/Amnesia:_Rebirth/Scripting/Scripting_Api/Meter&feed=atom&action=historyHPL3/Amnesia: Rebirth/Scripting/Scripting Api/Meter - Revision history2024-03-28T09:38:20ZRevision history for this page on the wikiMediaWiki 1.34.2https://wiki.frictionalgames.com/page?title=HPL3/Amnesia:_Rebirth/Scripting/Scripting_Api/Meter&diff=6165&oldid=prevAbion47: Created page with "{{ScriptingStub}} Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki! ==Summary== {{CodeDocSummaryTop}} {{CodeDocSummaryIte..."2020-11-15T23:06:08Z<p>Created page with "{{ScriptingStub}} Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki! ==Summary== {{CodeDocSummaryTop}} {{CodeDocSummaryIte..."</p>
<p><b>New page</b></p><div>{{ScriptingStub}}<br />
<br />
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!<br />
<br />
==Summary==<br />
{{CodeDocSummaryTop}}<br />
{{CodeDocSummaryItem|void|[[#Meter_SetShakeMul|Meter_SetShakeMul]](const [[../../tString|tString]] &in asName, float afShakeMul)|Sets the shake multiplier of the needle object in meter}}<br />
{{CodeDocSummaryItem|void|[[#Meter_SetSpeedMul|Meter_SetSpeedMul]](const [[../../tString|tString]] &in asName, float afSpeedMul)|Sets the speed multiplier of the needle object in meter}}<br />
{{CodeDocSummaryItem|void|[[#Meter_SetState|Meter_SetState]](const [[../../tString|tString]] &in asName, float afState, bool abFadeToState <nowiki>=</nowiki> true)|Sets the state of the needle object in meter}}<br />
{{CodeDocSummaryBottom}}<br />
<br />
==Function Detail==<br />
{{CodeDocDetailTop|Meter_SetShakeMul}}<br />
<syntaxhighlight lang="c++">void Meter_SetShakeMul(const tString &in asName,<br />
float afShakeMul)</syntaxhighlight><br />
{{CodeDocDetailBody|Sets the shake multiplier of the needle object in meter.}}<br />
{{CodeDocDetailParamStart}}<br />
{{CodeDocDetailParam|asName|[[../../tString|tString]]|}}<br />
{{CodeDocDetailParam|afShakeMul|float|}}<br />
{{CodeDocDetailReturn|void|}}<br />
{{CodeDocDetailBottom}}<br />
<br />
{{CodeDocDetailTop|Meter_SetSpeedMul}}<br />
<syntaxhighlight lang="c++">void Meter_SetSpeedMul(const tString &in asName,<br />
float afSpeedMul)</syntaxhighlight><br />
{{CodeDocDetailBody|Sets the speed multiplier of the needle object in meter.}}<br />
{{CodeDocDetailParamStart}}<br />
{{CodeDocDetailParam|asName|[[../../tString|tString]]|}}<br />
{{CodeDocDetailParam|afSpeedMul|float|}}<br />
{{CodeDocDetailReturn|void|}}<br />
{{CodeDocDetailBottom}}<br />
<br />
{{CodeDocDetailTop|Meter_SetState}}<br />
<syntaxhighlight lang="c++">void Meter_SetState(const tString &in asName,<br />
float afState,<br />
bool abFadeToState = true)</syntaxhighlight><br />
{{CodeDocDetailBody|Sets the state of the needle object in meter. Which then makes the needle move to the specified state.}}<br />
{{CodeDocDetailParamStart}}<br />
{{CodeDocDetailParam|asName|[[../../tString|tString]]|}}<br />
{{CodeDocDetailParam|afState|float|}}<br />
{{CodeDocDetailParam|abFadeToState|bool|}}<br />
{{CodeDocDetailReturn|void|}}<br />
{{CodeDocDetailBottom}}</div>Abion47