HPL3/Amnesia: Rebirth/Scripting/Scripting Api/MoveObject
< HPL3 | Amnesia: Rebirth | Scripting | Scripting Api
Jump to navigation
Jump to search
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Summary
Return Type | Function and Description |
---|---|
void | MoveObject_SetState(const tString &in asName, float afState) Sets the state of the move object |
void | MoveObject_SetStateExt(const tString &in asName, float afState, float afAcc, float afMaxSpeed, float afSlowdownDist, bool abResetSpeed) Sets the state of the move object |
Function Detail
MoveObject_SetState
void MoveObject_SetState(const tString &in asName,
float afState)
Sets the state of the move object. This makes it move to a certain postion between
min or max pos (or outside of that is <0 or >1).
Parameters
- asName (tString) —
- afState (float) —
Returns:
- void
MoveObject_SetStateExt
void MoveObject_SetStateExt(const tString &in asName,
float afState,
float afAcc,
float afMaxSpeed,
float afSlowdownDist,
bool abResetSpeed)
Sets the state of the move object. This makes it move to a certain postion between
min or max pos (or outside of that is <0 or >1).
This will also set the speeed and acc at which the movement occurs.
Parameters
- asName (tString) —
- afState (float) —
- afAcc (float) —
- afMaxSpeed (float) —
- afSlowdownDist (float) —
- abResetSpeed (bool) —
Returns:
- void