View Single Post
Zah dud4h

JCF Member

Joined: Dec 2014

Posts: 30

Zah dud4h is doing well so far

Apr 26, 2025, 01:31 PM
Zah dud4h is offline
Reply With Quote
a new onDraw variant for jjBEHAVIORINTERFACE

Unsure how the onDraw(jjOBJ@ obj) hook works internally and if it's possible to have a variant that accepts a second parameter of "jjPLAYER@ play" so you can specify how differently it should draw for a specific player, similar to how the PU blaster monitors and the fast fire pickups work

Example:
Quote:
void onDraw(jjOBJ@ obj,jjPLAYER@ play) {
if (play.currChar == CHAR::JAZZ) {
//draw the sprite for jazz
} else {
// draw the default sprite
}
}
__________________
.