User Tools

Site Tools


scripting:reference:entities

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
scripting:reference:entities [2016/05/06 14:39] – created mitscripting:reference:entities [2025/05/28 16:35] (current) – external edit 127.0.0.1
Line 9: Line 9:
 The server script for using scripted entities will usually follow this process: The server script for using scripted entities will usually follow this process:
  
-1. Create a new entity (using ''EntityCreate''+1. Create a new entity (using ''EntityCreate''\\ 
-2. Set parameters, graphics and behaviours for the entity (using ''EntitySetPosition'', ''EntitySetValue'' etc) +2. Set parameters, graphics and behaviours for the entity (using ''EntitySetPosition'', ''EntitySetValue'' etc) \\ 
-3. Add the entity to the world. (using ''EntityAddToWorld'' - This bit actually broadcasts the entity to the connected players).+3. Add the entity to the world. (using ''EntityAddToWorld'' - This bit actually broadcasts the entity to the connected players). \\
  
 ===== Entity Types ===== ===== Entity Types =====
Line 70: Line 70:
 AttachTo \\ AttachTo \\
 DeathDelay \\  DeathDelay \\ 
 +\\
 +Flag values (Can only be 0 or 1) : \\
 +FaceTarget \\
 +DontStickToFloor \\
 +TakeDamage \\
 +AttackTarget \\
 +AttackProx \\
 +DieOnTargetDeath \\
 +IsCamera \\
 +TargetEntity \\
 +TargetLastWeapon \\
 +TargetLastLocalWeapon \\
 +AttachEntity \\
 +AttachLastWeapon \\
 +AttachLastLocalWeapon \\
  
  
scripting/reference/entities.1462545584.txt.gz · Last modified: (external edit)