Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 06-20-2015, 11:26 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by devilsknite1 View Post
I couldn't load the attribute as an array by using (@player.attr[#])[1], so I had to end up treating it as a string and using:
PHP Code:
temp.icon player.attr12 ].substringplayer.attr12 ].pos"," ) + 1player.attr12 ].length() ); 
It might be easier to do something like

PHP Code:
temp.icon player.attr[12].tokenize(",")[1]; 
I think this will work but not entirely certain.

Quote:
However, it still does not load gani, which obviously disallows the image to be shown. Is it still possible for the gani to be shown with the attribute of which contains the gani and is also storing the image displaying in the gani? Storing it in two separate attributes works fine, but it would be nice to condense it into one.
I think so, but unfortunately can't remember and can't test it (no Linux client), sorry!
__________________
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 06:07 AM.


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