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
  #16  
Old 03-03-2009, 09:07 PM
Deas_Voice Deas_Voice is offline
Deas
Deas_Voice's Avatar
Join Date: Jun 2007
Location: Sweden
Posts: 2,264
Deas_Voice is a jewel in the roughDeas_Voice is a jewel in the rough
Send a message via AIM to Deas_Voice Send a message via MSN to Deas_Voice Send a message via Yahoo to Deas_Voice
Quote:
Originally Posted by Tyhm View Post
Furthering The Mystery:

When these zombies are placed at 32,32 on level a_01 of a tiledef2 gmap'd map, they find walls everywhere.

When the exact same level is renamed so that it's no longer a tiledef or a gmap, they work fine

When the exact same level is renamed so that it's STILL A TILEDEF but NOT a gmap, they work fine!

onwall2 just won't work on a gmap! Wtf!?


Further Still:
PHP Code:
function onCreated() {
  
setTimer(1);
}
function 
onTimeOut() {
  
Find_A_Wall();
  
setTimer(1);
}
function 
Find_A_Wall() {
  if( 
onwall2player.xplayer.y1) )
  {
    
player.chat "EEK I found A Wall!";
   
// echo("Found a Wall");
  
}
  else
  {
    
player.chat "I'd not find a Wall.";
    echo(
"Did not found a Wall");
  }

After 3 hours of tinkering we made the simplest possible script. It never echoes that it did not find a wall. Ever. (though Found A Wall goes off constantly...) But not even when we give it an abitrary X and Y...did Stefan just disable onwall2 and not tell any of us?
bump this quote, i would like to know also.
__________________
.
WTF is real life, and where do I Download it?
There is no Real Life, just AFK!
since 2003~
I Support~
ღAeonღ | ღTestbedღ | ღDelteriaღ

if you are going to rep me, don't be an idiot, leave your name!
I got nothing but love for you
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 03:43 PM.


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