SetMarineSprite

From ZDoom Wiki

Jump to: navigation, search

void SetMarineSprite(int tid, str actorclass);

Usage

Changes a Scripted Marine's sprite to match the sprite used in the specified actor's spawn state. The sprites you change it to need to correspond to the Marine sprites (the same frames are used for the same purposes, so four walking, two shooting, one pain and so on) for it to work 100%. Actorclass is a string, and case sensitive, so "revenant" is not the same as "Revenant".

Examples

Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.
Personal tools