Thread: onwall2
View Single Post
  #15  
Old 02-26-2009, 10:18 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
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?
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233

Last edited by Tyhm; 02-26-2009 at 12:56 PM..
Reply With Quote