Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-22-2006, 01:25 PM
JustBreathe JustBreathe is offline
Registered User
Join Date: Jun 2006
Posts: 59
JustBreathe is on a distinguished road
GS2: onObjectCreated( obj )?

Is there a way to have more events in the server, such as:

PHP Code:
// On Control-NPC
function onObjectCreatedobj )
  {
  echo( 
obj.name @"["obj.objectType() @"]: created.");
  } 
The problem with that is... TGraalVar IS an object, so... You'd probably have a lot of triggers if you set strings.

Usage:
PHP Code:
// On Control-NPC
function onObjectCreatedobj )
  {
  
obj.join("global");
  } 
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:59 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.