View Single Post
  #9  
Old 09-20-2004, 12:17 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
Quote:
Originally Posted by ProjectShifter
Hmm... I do recall something about not posting whole scripts and only posting parts that were relevant =x
quite
also, freakin indent, there is no point in using [code ] tags when you don't indent , and use [php ] if you have to post alot of code, since noone is fixing the damn doublespace >:O

I tested the script offline, and it seems to stop at walls alright. Your problem might have something to do with a neworder tileset, check to see if you're serveroption (newtilesets=true/false) is correct and all that stuff. Use this test weapon to make sure wallchecks are working too:
PHP Code:
if (created||timeout) {
  if (
onwall(mousex,mousey)) {
    
setplayerprop #c,Freakin wall!;
  
}else{setplayerprop c,Clear!;}
  
timeout .05;

Quote:
Originally Posted by xAndrewx
I didn't know you could add +/- in the same for loop? :o
yeah, um i=-1 is not the same as i-=1
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote