Are there scripts for the following methods?

Bruce

Active member
Hello everyone,

Recently O Ilusionista helped me learning a few more methods/functions that can be used in the animation.
I have the situation where I need this function to be scripted in the shadowon script to work with EX Mode.
Code:
drawmethod remap {int}
and this function does work with value -1 to change back to the palette that was selected during the character screen. However, it can only be used in the animation.

I've tried
Code:
changedrawmethod(entity, propertyname, value);
setdrawmethod(entity, int flag, int scalex, int scaley, int flipx, int flipy, int shiftx, int alpha, intcolourmap, int fillcolour, int rotate, int rotateflip, int transparencybg)
but none of these changes the palette.



I've also tried
Code:
changeentityproperty(self, "map", 2);
this would change the palette. However it does not work with -1 which would change back to the palette that was selected during the character screen.

Does anyone know how to write a simple script for this function?
Code:
drawmethod remap {int}

There are a few more:
Code:
drawmethod shiftx {value}

drawmethod rotate {angle}

drawmethod fillcolor {color}

drawmethod channel {r} {b} {b}

drawmethod alpha 6 drawmethod channel 0.25

drawmethod tintmode {int} drawmethod tintcolor {color}

Thank you very much
 
Back
Top Bottom