Graal Forums  

Go Back   Graal Forums > Private forums > Graal4 Forums > Graal V4 Main Forum
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-10-2006, 08:07 PM
Tom Tom is offline
Grraaaaaw
Tom's Avatar
Join Date: May 2005
Posts: 2,037
Tom is on a distinguished road
Suggestion: Pointers

In various cases, it has been a pain to rewrite a long line such as
player.clientr.item.worn.bigshoes.dynamic

Instead, would it be possible to create references, like static objects, so that:

PHP Code:
&dynamic = &player.clientr.item.worn.bigshoes.dynamic
dynamic 
= {5player.account}; 
And, likewise, to increase the potential of:

PHP Code:
function onCreated()
{
  &static = &
player.clientr.item.worn.bigshoes.static;
  &
dynamic = &player.clientr.item.worn.bigshoes.dynamic;
  
test( &static, &dynamic );
}

function 
merge( &static, &dynamic )
{
  static.
addarray(dynamic);
  
dynamic "";

 


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 05:20 PM.


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