pedramtolo
Member
Hello to all
I apologize for my absence
Sorry, I need help with Tintcolor and Tintmode
I use these commands in the game to change the tint and they work fine.
drawmethod tintmode 1
drawmethod tintcolor 0_70_0
but now I need to use this in the script.
These two commands are mentioned in the openbor manual
changedrawmethod(entity, propertyname, value);
void P1 = getplayerproperty(0,"entity");
changedrawmethod( p1, tintmode, 1);
changedrawmethod( p1, "tintcolor", 0x004600);
Does anyone know how I can use them?
Thank you all for your support
I apologize for my absence
Sorry, I need help with Tintcolor and Tintmode
I use these commands in the game to change the tint and they work fine.
drawmethod tintmode 1
drawmethod tintcolor 0_70_0
but now I need to use this in the script.
These two commands are mentioned in the openbor manual
changedrawmethod(entity, propertyname, value);
- tintcolor, // Will tint the sprite with given tintcolor, in alpha mode tintmode
- tintmode, // Defines the tintmode
void P1 = getplayerproperty(0,"entity");
changedrawmethod( p1, tintmode, 1);
changedrawmethod( p1, "tintcolor", 0x004600);
Does anyone know how I can use them?
Thank you all for your support