MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / setPlayerEntity

Method setPlayerEntity

src/logic/ScriptEngine.h:126–126  ·  view source on GitHub ↗

* Sets the entity of the NPC the player is currently playing as */

Source from the content-addressed store, hash-verified

124 * Sets the entity of the NPC the player is currently playing as
125 */
126 void setPlayerEntity(Handle::EntityHandle player) { m_PlayerEntity = player; }
127 /**
128 * Returns a list of all npcs found inside the given sphere
129 * @param center Center of the search-sphere

Callers 2

Wld_RemoveNpcMethod · 0.80
takeControlOverMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected