View Single Post
  #60  
Old 02-03-2004, 10:23 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Quote:
Originally posted by Gman4pwnu
So how would I do a lights on / off script for everyone to see? A triggeraction from server to client?

Also, if I select an image for the npc, do I need to set a shape?
For lights: You can still show/hide the npc on serverside, the visibility information is sent to all players

When you do setimg then the npcserver is by default reading the beginning of the image (gif or png) to get the image size, and is automatically setting the shape size so playertouchsme etc. is working. That has been added 4 months ago. Also imgwidth(filename) and imgheight(filename) are working now on serverside.
Reply With Quote