முதன்மை உள்ளடக்கத்துக்குச் செல்லவும்

SetActorSkin

எச்சரிக்கை

செயல்பாடு என்பது omp v1.1.0.2612 பதிப்பில் சேர்க்கப்பட்டது. இது முந்தைய பதிப்புகளில் இயங்காது!

Description​

Set the skin of the actor.

NameDescription
actoridThe ID of the actor to set.
skinThe ID of the skin to give them

Returns​

true - Success.

false - Failure (i.e. Actor is not created/valid).

Examples​

new gMyActor;

public OnGameModeInit()
{
gMyActor = CreateActor(179, 1153.9640, -1772.3915, 16.5920, 0.0000);
SetActorSkin(gMyActor, 270); // Change actor skin from 179 to 270
return 1;
}