19,587
edits
(→Added cheat codes: found two more cheat codes in the code) |
(→Characters: one command changed names, another was undocumented) |
||
Line 269: | Line 269: | ||
:Checks if player is holding a key | :Checks if player is holding a key | ||
:Possibly broken | :Possibly broken | ||
* int ''' | * int '''d_waitforkey''' keys | ||
:Waits for a keypress from the player | :Waits for a keypress from the player | ||
* int '''d_powerup''' [ai_name:string | script_id:int] powerup:string | * int '''d_powerup''' [ai_name:string | script_id:int] powerup:string | ||
:Gets or sets a character's powerups | :Gets or sets a character's powerups | ||
* float '''d_location''' [ai_name:string | script_id:int] xyz:string | * float '''d_location''' [ai_name:string | script_id:int] xyz:string | ||
:Gets the | :Gets the XYZ coordinate of a character | ||
* float '''d_location''' [ai_name:string | script_id:int] x:float y:float z:float | * float '''d_location''' [ai_name:string | script_id:int] x:float y:float z:float | ||
:Sets the XYZ coordinates of a character | :Sets the XYZ coordinates of a character | ||
* float '''d_distance''' [ai_name:string | script_id:int] [ai_name:string | script_id:int] | |||
:Gets the distance between two characters | |||
* int '''d_regen''' [ai_name:string | script_id:int] yesno:int | * int '''d_regen''' [ai_name:string | script_id:int] yesno:int | ||
:Gets or sets a character's regeneration abilities | :Gets or sets a character's regeneration abilities |