ent_create
Jump to navigation
Jump to search
ent_create
is a console command that creates an entity of the given type where the player is looking.
Usage
Additional parameters can be passed in in the form:
ent_create <entity name> <param 1 name> <param 1> <param 2 name> <param 2>...<param N name> <param N>
Examples
ent_create player_speedmod; ent_fire player_speedmod ModifySpeed 3
- This is a helpful way to make the player faster ingame, without needing to recompile the map or using
host_timescale
- This is a helpful way to make the player faster ingame, without needing to recompile the map or using
ent_create env_explosion targetname newexp iMagnitude 100; ent_fire newexp explode
- Spawns an explosion where the player looks and instantly triggers it too.
See Also
- prop_dynamic_create, a command to create spawn a model ingame.
- give, a command like
ent_fire
, but things spawn beneath the player's feet.