SetMarineSprite

From ZDoom Wiki
Revision as of 02:53, 10 June 2009 by Hirogen2 (talk | contribs) (wording)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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 for it to work 100%, as the same frames are used for the same purposes, so 4x walking, 2x shooting, 1 pain frame, and so on. actorclass is a string, and case sensitive, so “revenant” is not the same as “Revenant”.

Examples

Nuvolachalk.png 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 contributions are greatly appreciated.