Page 1 of 1

Sector_Setcolor doesn´t work online on clientside

Posted: Wed May 01, 2013 8:24 pm
by ibm5155
So I was trying to do an effect when a player was dead by a specific monster, and only he would see the map with different color, so i did something like that
script x (void) clientside
{
if(ConsolePlayerNumber() != PlayerNumber()) Terminate;
Sector_Setcolor(14,0,133,0);
}

But the problem is sector_setcolor doesn´t work online =/
Is there a way to do it work?

RE: Sector_Setcolor doesn´t work online on clientside

Posted: Thu May 02, 2013 5:38 pm
by Torr Samaho
I think that deliberately desyncing sector properties between client and server is not a good idea. How about giving the player a powerup that changes the player's colormap?

RE: Sector_Setcolor doesn´t work online on clientside

Posted: Thu May 02, 2013 7:14 pm
by ibm5155
Hmm It´s another method :) I´ll try this then.
The idea was when the player died by the white face ghoul he would be teleported to a dead room, and all the outside area would have a red light color.