Created Debug Commands (markdown)

Blixibon 2019-12-04 14:06:09 -06:00
parent 994685eb8c
commit a444626c64

15
Debug-Commands.md Normal file

@ -0,0 +1,15 @@
Mapbase changes existing debug console commands and also has its own. These commands are supposed to assist in debugging problems and/or messing around with cheats.
## ent_fire
`ent_fire` is an existing command that could fire an input on an entity, or a number of entities. The syntax is `ent_fire <target> <input> <optional: parameter> <optional: delay>`.
`ent_fire` includes an "auto-completion" lookup for entities in the map and inputs on an entity, but the entity lookup is not used for classnames by default. `ent_fire` still works with classnames, but it won't auto-complete. Mapbase adds auto-completion for classnames so they show up as well as targetnames.
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
**Not implemented in public build; v1.2 change**
(todo)