Author Topic: getNodeColor? [Solved]  (Read 1165 times)

I need a function to check what color a node is. I want to change the node's color, then change it back later.
« Last Edit: May 14, 2013, 03:22:24 AM by tommybricksetti »

Weirdly enough, you can't do this. If you're using a player though, look at gameConnection::applyBodyColors.

What about setting the avatar to the player's prefs? Is there a function for that?

What about setting the avatar to the player's prefs? Is there a function for that?

If you're using a player though, look at gameConnection::applyBodyColors.

What does
Code: [Select]
applyCharacterPrefs(%obj); do? I know what
Code: [Select]
applyDefaultCharacterPrefs(%obj); does.

Ye so I tried that function port it works. But Idk how to apply it to death.

You can also use setTempColor then clearTempColor

ok so it's not based on colors. the glitch happens regardless of what color I set the player to. should I just cover it up by using a default blockhead avatar?

got it. It was an onMount/onUnmount script that was breaking it. I just added a death check to that script to fix it.