enem

Well I'm working on a TMNT game each of the turtles will have palettes based on the different incarnations of the turtles so i wanted to have shredder react to whatever palette player one picks so if your say 1984 Donatello Shredders palette would also be 1984
 
what about player 2 and 3 ,4 if they dont have 1984 palette, or if only player 2 have 1984 palette not player 1, you must decide about many possible outcomes.
You can get player remap in shredder spawn animation and change it with script
 
well player one is the only constant so i wanted to base it off of player one shredder would have just as many palettes as the turtles or maybe have shredder go to a default palette if players dont all pick the same incarnations
 
I'm rephrasing my question : when exactly Shredder adjusts his palette? is it only when he appears (with SPAWN animation)? or he constantly checks player 1's palette then adjust his accordingly?

Oh BTW, did you set same number to palettes? e.g 1984 palette for Turtles is 1st palette and so is Shredder's?

This is important cause the script needs to define specific palette number.
 
it would just be at spawn and right now all the palettes are based on the year so shredder also has an 1984 palette so each palette for the turtles shredder has one the coordinates with it
 
Okay then, put this script in Shredder's SPAWN animation:

anim spawn
@script
    void self = getlocalvar("self");
    int P1 = getplayerproperty(0, "entity");
    int P1Map = getentityproperty(P1, "map");

    if(frame==0){
      changeentityproperty(self, "map",P1Map);
    }
@end_script
...

HTH
 
Back
Top Bottom