Get your own free workspace
View
 

SetActorClothes

Page history last edited by Gamemaster 3 years, 11 months ago

 

SetActorClothes

Usage:

                SetActorClothes(Actor, Clothes)

Description:

The SetActorClothes command allows you to change the body texture of an actor in mid game. You could use this to allow players to change their clothes, or to retexture NPCs after creation. NPCs always use body texture #1 when first created.

The Clothes parameter should be an integer between 1 and 5.

Example:

                Function Main()
                        // Change player's clothes
                        SetActorClothes(Actor(), 3)
                        Return()
                End Function

Comments (0)

You don't have permission to comment on this page.