
03-03-2009, 09:07 PM
|
|
Deas
|
 |
Join Date: Jun 2007
Location: Sweden
Posts: 2,264
|
|
Quote:
Originally Posted by Tyhm
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( onwall2( player.x, player.y, 1, 1 ) )
{
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! if you are going to rep me, don't be an idiot, leave your name!I got nothing but love for you 
|
|
|
|