View Single Post
  #1  
Old 04-04-2005, 06:33 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Question Gscript2 and level NPCs clientside

I have found a curious problem with Gscript2 on Rudora.
Gscript2 works clientside and serverside in weapons, and it works on the serverside in DB NPCs (I have not tried to use it on the clientside with DB NPCs yet).
But my main concern is level NPCs. If a Gscript2 NPC is in a level, then the serverside part of the script will run but the clientside part will not. Simple things like this will not run:
NPC Code:
//#CLIENTSIDE
function onPlayerChats() {
player.chat="Hello";
}


Any ideas?
Reply With Quote