Skip to content

Commit

Permalink
Update player_command.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikk155 committed Apr 3, 2024
1 parent 08d44d0 commit 9fdb02f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/entities/Point/player_command.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,21 @@ <h2>KeyValues</h2>
<th>Description</th>
<tr>
<tr><td>targetname</td><td></td><td>target_source</td><td>Name</td><td class="table_description">Name is a general attribute used to identify entities</td></tr>
<tr><td>target</td><td></td><td>target_destination</td><td>Target</td><td class="table_description"></td></tr>
<tr><td>m_UseType</td><td>-1</td><td>choices</td><td>Use Type</td><td class="table_description">Anything else will be count as USE_UNKNOWN and in fact, work the same as USE_UNSET</td></tr>
<tr><td>m_UseType</td><td>-1</td><td></td><td>USE_UNSET (default)</td><td class="table_description">This is the value by default and will have no effect at all in how entities normaly behave.</td></tr>
<tr><td>m_UseType</td><td>0</td><td></td><td>USE_OFF</td><td class="table_description"></td></tr>
<tr><td>m_UseType</td><td>1</td><td></td><td>USE_ON</td><td class="table_description"></td></tr>
<tr><td>m_UseType</td><td>2</td><td></td><td>USE_SET</td><td class="table_description">Does use of m_UseValue, See how it affects each entity.</td></tr>
<tr><td>m_UseType</td><td>3</td><td></td><td>USE_TOGGLE</td><td class="table_description"></td></tr>
<tr><td>m_UseType</td><td>4</td><td></td><td>USE_KILL</td><td class="table_description">Remove the entity from the world.</td></tr>
<tr><td>m_UseType</td><td>5</td><td></td><td>USE_SAME</td><td class="table_description">Sends the same USE_TYPE that this entity receive.</td></tr>
<tr><td>m_UseType</td><td>6</td><td></td><td>USE_OPPOSITE</td><td class="table_description">Sends the opposite USE_TYPE that this entity receive, Swaps USE_ON <-> USE_OFF, If anything else then USE_TOGGLE is sent</td></tr>
<tr><td>m_UseType</td><td>7</td><td></td><td>USE_TOUCH</td><td class="table_description">Calls the Touch function, the activator will be passed as the toucher.</td></tr>
<tr><td>m_UseType</td><td>8</td><td></td><td>USE_LOCK</td><td class="table_description">Locks the entity. Does use of m_UseValue</td></tr>
<tr><td>m_UseType</td><td>9</td><td></td><td>USE_UNLOCK</td><td class="table_description">Un-Locks the entity. Does use of m_UseValue</td></tr>
<tr><td>m_UseValue</td><td></td><td>float</td><td>Use Value</td><td class="table_description"></td></tr>
<tr><td>message</td><td></td><td>string</td><td>Command to execute</td><td class="table_description"></td></tr>
<tr><td>appearflag_singleplayer</td><td>0</td><td>choices</td><td>#AppearFlags SinglePlayer</td><td class="table_description">Appearance flags for SinglePlayer, This control when this entity should or should not appear in this condition.</td></tr>
<tr><td>appearflag_singleplayer</td><td>-1</td><td></td><td>Not in</td><td class="table_description">This entity won't exist if the game is SinglePlayer.</td></tr>
<tr><td>appearflag_singleplayer</td><td>0</td><td></td><td>Default</td><td class="table_description">This entity is not affected by the game being SinglePlayer</td></tr>
Expand Down Expand Up @@ -56,6 +71,7 @@ <h2>Spawnflags</h2>
<th>Description</th>
<tr>
<tr>
<td>1</td><td>All Players</td><td class="table_description"></td></tr>
<td>2048</td><td>Only in Singleplayer</td><td class="table_description">This entity won't spawn at all in multi-player</td></tr>
</tr>
</tr>
Expand Down

0 comments on commit 9fdb02f

Please sign in to comment.