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
}
}
|
__________________
.
|