void SetMarineSprite(int tid, str actorclass);
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”.
|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. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.|