mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-26 06:45:31 +03:00
Updated Debug Commands (markdown)
parent
a444626c64
commit
fbb3dd39d1
@ -8,8 +8,14 @@ Mapbase changes existing debug console commands and also has its own. These comm
|
||||
|
||||
There was also an oversight with the delay parameter that prevented decimals from being used. This has been fixed in Mapbase.
|
||||
|
||||
## ent_create, npc_create
|
||||
## ent_create, npc_create, etc.
|
||||
|
||||
**Not implemented in public build; v1.2 change**
|
||||
|
||||
`ent_create` is an existing command that could create an entity where a player is looking. `npc_create` is a similar existing command that could create a NPC where the player is looking, using a hull check to make sure the NPC could fit in the position.
|
||||
|
||||
Mapbase adds auto-completion to both commands, searching through the entity factory list and allowing the commands to auto-complete based on spawnable entity classes. (todo: make npc_create only show entities prefixed with `npc_`)
|
||||
|
||||
`npc_create_aimed` is an existing command identical to `npc_create`, except it spawns the NPC facing away from the player that spawned it. Mapbase also adds `ent_create_aimed`, a new command equivalent to `npc_create_aimed`, except for `ent_create`. Both commands use the same auto-completion changes mentioned above.
|
||||
|
||||
(todo)
|
Loading…
Reference in New Issue
Block a user