User Tools

Site Tools


script:module:app

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
script:module:app [2020-06-25 12:53]
skyjake [Functions]
script:module:app [2020-07-18 16:30]
skyjake
Line 69: Line 69:
  
 Increases the player'​s armor points and changes the armor type. Increases the player'​s armor points and changes the armor type.
 +
 +
 +#​@Identifier_HTML~giveBackpack~@#​ ( )
 +
 +(Availability:​ Not available in Hexen.)
 +
 +Increases the player'​s max ammo capacity.
 +
 +
 +#​@Identifier_HTML~givePower~@#​ (
 + #​@Arg_HTML~Number,​type~@#​ )
 +
 +Gives the player a power-up.
 +
 +The values for //type// depend on the game (see ''​enum powertype_t''​).
 +For Heretic, the following values are defined:
 +
 +  * App.Player.PT_ALLMAP
 +  * App.Player.PT_FLIGHT
 +  * App.Player.PT_HEALTH2
 +  * App.Player.PT_INFRARED
 +  * App.Player.PT_INVISIBILITY
 +  * App.Player.PT_INVULNERABILITY
 +  * App.Player.PT_SHIELD
 +  * App.Player.PT_WEAPONLEVEL2
  
  
script/module/app.txt ยท Last modified: 2020-07-18 16:30 by skyjake