Thread: logs
View Single Post
  #18  
Old 11-26-2003, 02:03 AM
MrGannondorf MrGannondorf is offline
Teh Lunpa
Join Date: Apr 2002
Location: usa, alas
Posts: 395
MrGannondorf is on a distinguished road
Send a message via AIM to MrGannondorf
I got it somewhat working. This...
NPC Code:

if (actionplayeronline) {
//stuff
for(i=0; i<allplayerscount; i++) {
with(allplayers[i]) if (strlen(#F)=0) setplayerprop #3,head122.png;
}
//more stuff
}


...is what I have so far. Works nice, with the exeption that RCs don't seem to trigger actionplayeronline... so it ends up that the rc will have the default head when the log on untill a player logs on. Any ideas?

I was thinking of having it check for when the rc chat says "New RC: blah blah blah", but I've been having trouble getting the (rcchat) flag to work.
__________________
Reply With Quote