Thread: Custom Gui
View Single Post
  #17  
Old 02-24-2007, 11:24 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 xXziroXx View Post
The more correct way would be:

PHP Code:
player.chat findNPC("Blah").test
I would say player.chat = Blah.test is the better way findnpc is mainly there for compatbility. The same goes for position = "100 100" - the preferred way is position = {100, 100} but it is accepting different ways for compatbility (so that gui creation scripts from torque work without modification in graal script).
Reply With Quote