luigi budd
luigi butt
Hi guys,
I've got a character who's supercolor I want to change when he transforms with SMS' powershare. I saw that the skin_t's supercolor is read-only, but I didn't see any other supercolors that were write, so I used that one.
I know the supercolor probably isn't just "supercolor" but I have no clue how to actually write it.
If I'm using a wrong hook or something, let me know!
I've got a character who's supercolor I want to change when he transforms with SMS' powershare. I saw that the skin_t's supercolor is read-only, but I didn't see any other supercolors that were write, so I used that one.
the scriop[yy[y:
addHook("PlayerThink", function(p)
if not p.mysticsuper == "nil" //you probably shouldve loaded sms first
if p.mysticsuper //this operates on the basis that this is set to "1" when we transform w/ sms' powershare
supercolor = "Red" //this miiight not work, since the wiki says that this is read-only, so...
--normalspeed = (normalSpeedInt * 3/2) * FRACUNIT //hopefully the () are understood as brackets in math
else
supercolor = "Sky"
end
end
end)
I know the supercolor probably isn't just "supercolor" but I have no clue how to actually write it.
If I'm using a wrong hook or something, let me know!