Thread: [Character] Blaze the Cat v1.2
View Single Post
Old 05-03-2014   #13
Puppyfaic
 
Puppyfaic's Avatar
Default

You want Blaze to be able to turn into a single-player super form, yes? Try this.
Code:
addHook("MobjThinker", do
    for character in players.iterate
        if not (character.charflags & SF_SUPER)
        and (player.mo and player.mo.skin = "blaze")
            character.charflags = $1|SF_SUPER
        else
            character.charflags = $1 & ~SF_SUPER
        end
    end
end, MT_PLAYER)
__________________
Quote:
Originally Posted by Frostay
Yeah fuck you too you insufferable twat.
Puppyfaic is offline   Reply With Quote