Difference between revisions of "HPL3/SOMA/Scripting/Scripting Api/Entity"

From Frictional Wiki
< HPL3‎ | SOMA‎ | Scripting‎ | Scripting Api
Jump to navigation Jump to search
(Created page with "==Entity_GetAutoSleep== Get if an entity automatically falls asleep when it isnt active <span style="font-size: 1.2em; font-weight: bold; line-height: 1.6; color: #bbbbbb">P...")
 
Line 1: Line 1:
==Entity_GetAutoSleep==
+
<h2 style="border-top: 0.5px solid #a2a9b1; border-bottom: 0.5px solid #a2a9b1">Entity_GetAutoSleep</h2>
  
 
Get if an entity automatically falls asleep when it isnt active
 
Get if an entity automatically falls asleep when it isnt active
  
<span style="font-size: 1.2em; font-weight: bold; line-height: 1.6; color: #bbbbbb">Parameters</span>
+
<!--<span style="font-size: 1.2em; font-weight: bold; line-height: 1.6; color: #bbbbbb">Parameters</span>-->
 +
'''Parameters'''
  
 
* '''asName''' <syntaxhighlight lang="c++" inline>(const tString &in)</syntaxhighlight> — Name of the entity.
 
* '''asName''' <syntaxhighlight lang="c++" inline>(const tString &in)</syntaxhighlight> — Name of the entity.
  
<span style="font-size: 1.2em; font-weight: bold; line-height: 1.6; color: #bbbbbb">Returns:</span>
+
<!--<span style="font-size: 1.2em; font-weight: bold; line-height: 1.6; color: #bbbbbb">Returns:</span>-->
 +
'''Returns:'''
 +
 
 +
* <syntaxhighlight lang="c++" inline>bool</syntaxhighlight> — if sleeping or not.
 +
 
 +
<syntaxhighlight lang="c++">bool Entity_GetAutoSleep(const tString &in asName)</syntaxhighlight>
 +
 
 +
<h2 style="border-top: 0.5px solid #a2a9b1; border-bottom: 0.5px solid #a2a9b1">Entity_GetAutoSleep</h2>
 +
 
 +
Get if an entity automatically falls asleep when it isnt active
 +
 
 +
<!--<span style="font-size: 1.2em; font-weight: bold; line-height: 1.6; color: #bbbbbb">Parameters</span>-->
 +
'''Parameters'''
 +
 
 +
* '''asName''' <syntaxhighlight lang="c++" inline>(const tString &in)</syntaxhighlight> — Name of the entity.
 +
 
 +
<!--<span style="font-size: 1.2em; font-weight: bold; line-height: 1.6; color: #bbbbbb">Returns:</span>-->
 +
'''Returns:'''
 +
 
 +
* <syntaxhighlight lang="c++" inline>bool</syntaxhighlight> — if sleeping or not.
 +
 
 +
<syntaxhighlight lang="c++">bool Entity_GetAutoSleep(const tString &in asName)</syntaxhighlight>
 +
 
 +
<h2 style="border-top: 0.5px solid #a2a9b1; border-bottom: 0.5px solid #a2a9b1">Entity_GetAutoSleep</h2>
 +
 
 +
Get if an entity automatically falls asleep when it isnt active
 +
 
 +
<!--<span style="font-size: 1.2em; font-weight: bold; line-height: 1.6; color: #bbbbbb">Parameters</span>-->
 +
'''Parameters'''
 +
 
 +
* '''asName''' <syntaxhighlight lang="c++" inline>(const tString &in)</syntaxhighlight> — Name of the entity.
 +
 
 +
<!--<span style="font-size: 1.2em; font-weight: bold; line-height: 1.6; color: #bbbbbb">Returns:</span>-->
 +
'''Returns:'''
 +
 
 +
* <syntaxhighlight lang="c++" inline>bool</syntaxhighlight> — if sleeping or not.
 +
 
 +
<syntaxhighlight lang="c++">bool Entity_GetAutoSleep(const tString &in asName)</syntaxhighlight>
 +
 
 +
<h2 style="border-top: 0.5px solid #a2a9b1; border-bottom: 0.5px solid #a2a9b1">Entity_GetAutoSleep</h2>
 +
 
 +
Get if an entity automatically falls asleep when it isnt active
 +
 
 +
<!--<span style="font-size: 1.2em; font-weight: bold; line-height: 1.6; color: #bbbbbb">Parameters</span>-->
 +
'''Parameters'''
 +
 
 +
* '''asName''' <syntaxhighlight lang="c++" inline>(const tString &in)</syntaxhighlight> — Name of the entity.
 +
 
 +
<!--<span style="font-size: 1.2em; font-weight: bold; line-height: 1.6; color: #bbbbbb">Returns:</span>-->
 +
'''Returns:'''
 +
 
 +
* <syntaxhighlight lang="c++" inline>bool</syntaxhighlight> — if sleeping or not.
 +
 
 +
<syntaxhighlight lang="c++">bool Entity_GetAutoSleep(const tString &in asName)</syntaxhighlight>
 +
 
 +
<h2 style="border-top: 0.5px solid #a2a9b1; border-bottom: 0.5px solid #a2a9b1">Entity_GetAutoSleep</h2>
 +
 
 +
Get if an entity automatically falls asleep when it isnt active
 +
 
 +
<!--<span style="font-size: 1.2em; font-weight: bold; line-height: 1.6; color: #bbbbbb">Parameters</span>-->
 +
'''Parameters'''
 +
 
 +
* '''asName''' <syntaxhighlight lang="c++" inline>(const tString &in)</syntaxhighlight> — Name of the entity.
 +
 
 +
<!--<span style="font-size: 1.2em; font-weight: bold; line-height: 1.6; color: #bbbbbb">Returns:</span>-->
 +
'''Returns:'''
  
 
* <syntaxhighlight lang="c++" inline>bool</syntaxhighlight> — if sleeping or not.
 
* <syntaxhighlight lang="c++" inline>bool</syntaxhighlight> — if sleeping or not.

Revision as of 03:19, 10 August 2020

Entity_GetAutoSleep

Get if an entity automatically falls asleep when it isnt active

Parameters

  • asName (const tString &in) — Name of the entity.

Returns:

  • bool — if sleeping or not.
bool Entity_GetAutoSleep(const tString &in asName)

Entity_GetAutoSleep

Get if an entity automatically falls asleep when it isnt active

Parameters

  • asName (const tString &in) — Name of the entity.

Returns:

  • bool — if sleeping or not.
bool Entity_GetAutoSleep(const tString &in asName)

Entity_GetAutoSleep

Get if an entity automatically falls asleep when it isnt active

Parameters

  • asName (const tString &in) — Name of the entity.

Returns:

  • bool — if sleeping or not.
bool Entity_GetAutoSleep(const tString &in asName)

Entity_GetAutoSleep

Get if an entity automatically falls asleep when it isnt active

Parameters

  • asName (const tString &in) — Name of the entity.

Returns:

  • bool — if sleeping or not.
bool Entity_GetAutoSleep(const tString &in asName)

Entity_GetAutoSleep

Get if an entity automatically falls asleep when it isnt active

Parameters

  • asName (const tString &in) — Name of the entity.

Returns:

  • bool — if sleeping or not.
bool Entity_GetAutoSleep(const tString &in asName)