Script Name: Color Port
Script Description: A special version of MovePlayer: During the moving to "aim_x" and "aim_y", the screen of player "id" gets the color "R,G,B" and fades out x "seconds". I needed that for a special subgamemod. Maybe it might be usefull for other users.
Original Author(s): DrThrax
Core Version: 2.6.3
Code: procedure ColorPort(id : byte; aim_x , aim_y : single ; seconds : integer ; R,G,B : byte);
procedure ColorPort(id : byte; aim_x , aim_y : single ; seconds : integer ; R,G,B : byte);
begin
DrawText(id,'XXX',(seconds*60),RGB(R,G,B),35,-3000,-3000);
MovePlayer(id,aim_x,aim_y);
end;
kind regards , DrThrax