Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #31  
Old 12-22-2010, 01:48 AM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
Quote:
Originally Posted by fowlplay4 View Post
Try this:

PHP Code:
//#CLIENTSIDE
function onCreated() {
  
addtiledef("npulse_outside_tiles.png""npulse_"1);
  
addtiledef("npulse_outside_tiles.png""stafflevel_"1);
  
addtiledef("npulse_inside_tileset.png""npulse_inside_"1);

addtiledef in a timeout loop is just bad...
Not just bad but completely un-necessary in this case due to the fact the addtiledef functions contains a levelstart parameter as you've shown.

Quote:
Originally Posted by SlikRick View Post
PHP Code:
 if (player.level.name.starts("npulse_") && player.level.name.starts("stafflevel_")) 
Probably also worth mentioning that it is an impossibility for both of these conditions to be true.
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 11:00 AM.


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