| Blockland Forums > Modification Help |
| Getting the color of a player's head node? |
| (1/1) |
| Demian:
Is it possible to get the color of a player's head node and then use that as a colorShift color? |
| Amade:
%client.headColor If you want to colorshift a weapon based on who's holding it, that won't work. If you update the colorshift of an image datablock it will immediately be updated on all instances of the image. |
| Demian:
--- Quote from: Amade on October 21, 2011, 04:03:50 PM ---%client.headColor If you want to colorshift a weapon based on who's holding it, that won't work. If you update the colorshift of an image datablock it will immediately be updated on all instances of the image. --- End quote --- What do you mean by that? All instances? --- Code: ---colorShiftColor = %client.headColor; --- End code --- I have a feeling it isn't this easy. |
| Amade:
--- Quote from: Demian on October 21, 2011, 04:09:28 PM ---What do you mean by that? All instances?I have a feeling it isn't this easy. --- End quote --- Basically, what you're trying to do won't work. If someone has a red head and you colorshift the image to red, and then someone has a blue head (so you colorshift it to blue) the image will appear as blue on both players. |
| Demian:
--- Quote from: Amade on October 21, 2011, 06:21:09 PM ---Basically, what you're trying to do won't work. If someone has a red head and you colorshift the image to red, and then someone has a blue head (so you colorshift it to blue) the image will appear as blue on both players. --- End quote --- Oh I see. That sucks. I guess you'd need an unique image per player.. |
| Navigation |
| Message Index |