Changeset 7493 for code/trunk/src/modules/pickup/items/HealthPickup.h
- Timestamp:
- Sep 27, 2010, 7:53:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/pickup/items/HealthPickup.h
r7456 r7493 62 62 A pickup that can do (dependent upon the parameters) lots of different things to the health of a Pawn. 63 63 There are 4 parameters that can be chosen: 64 1) The health.The amount of health that (in a way dependent on the other parameters) is transfered to the Pawn.65 2) The activation type:It can be chosen to be either 'immediate' or 'onUse'. The activation type essentially (as indicated by the name) defines when the health is transfered, either immediately after being picked up or only after the player uses it.66 3) The duration type:It can be chosen to be either 'once' or 'continuous'. For 'once' the specified health is transfered once to the Pawn, for 'continuous' the set health is transfered over a span of time at a rate defined by the health rate parameter.67 4) The health type:The health type can be chosen to be 'limited', 'temporary' or 'permanent'. 'limited' means that the health is increased only to the maximum health of the Pawn. 'temporary' means that the maximum health is temporarily elevated but will be set back as soon as the pickup is no longer in use. 'permanent' means that the maximum health of the Pawn is increased such that the health provided by the pickup will fit in and the maximum health stays that way.64 - The @b health The amount of health that (in a way dependent on the other parameters) is transfered to the Pawn. 65 - The @b activation @b type It can be chosen to be either 'immediate' or 'onUse'. The activation type essentially (as indicated by the name) defines when the health is transfered, either immediately after being picked up or only after the player uses it. 66 - The @b duration @b type It can be chosen to be either 'once' or 'continuous'. For 'once' the specified health is transfered once to the Pawn, for 'continuous' the set health is transfered over a span of time at a rate defined by the health rate parameter. 67 - The @b health @b type The health type can be chosen to be 'limited', 'temporary' or 'permanent'. 'limited' means that the health is increased only to the maximum health of the Pawn. 'temporary' means that the maximum health is temporarily elevated but will be set back as soon as the pickup is no longer in use. 'permanent' means that the maximum health of the Pawn is increased such that the health provided by the pickup will fit in and the maximum health stays that way. 68 68 @author 69 69 Damian 'Mozork' Frick
Note: See TracChangeset
for help on using the changeset viewer.