#Is there a way to have 2 models that switch for a hat

15 messages · Page 1 of 1 (latest)

runic whale
#

I was working on a hat and i was wondering can you have 2 models so when you press a button it changes to the other model

#

I coded a script and it worked in unity but now in unturned is there any limitations when it comes to code clothing

timid quarry
#

You could make it Headlamp and disable the Spotlight but still add the Light GameObject as a child of your Model_0. Then just add an Activation EventHook to the Light and make it Disable and Enable the Models you want

runic whale
#

Ok

runic whale
#

how do i make an eventhook?

timid quarry
#

Its included with the Project.unitypackage

#

its called ActivationEventHook.cs iirc

#

just search for "Activation" in the Add Components list

runic whale
#

k

#

thx

runic whale
#

im abit confused could you tell me what to do if posible

timid quarry
runic whale
#

ik that but would options would i need to pick

timid quarry
#

On Activation
=>
Make one of the Models be Enabled and the other Disabled

#

And on De Activation swap them