GenIncSpriteShieldPoints


GenIncSpriteShieldPoints sprite, inc

sprite

The sprite to increment.

inc

This is the amount to add to the sprite's shield points. This number may be positive or negative.

This command increments a sprite's shield points. Shield points are part of the game engine's automatic scoring system. When enabled, collisions do damage subtracting points from the shields before doing hit point damage. This command can be used to restore or subtract shield points from the sprite.

If enabled score trailer numbers will appear above the sprite showing the shield point change.


Game Engine Overview







Become a Patron