Thread: Saving Info
View Single Post
  #9  
Old 11-03-2001, 09:50 PM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
Re: hers the script FILL ME UP DOC!

first thing:
make a better keydown-routine with for loops

for(this.i=0;this.i<4;this.i++){
if(keydown(this.i)){
if(!onwall(playerx+1.5+vecx(this.i)*.5,playery+2+v ecy(this.i)*.5)){
playerx+=vecx(this.i)*.5;
playery+=vecy(this.i)*.5;
playerdir=this.i;
}
}
}

it's not a good onwall check but I dont want to write too much

I would also use triggeractions for filling up but I think there is a better way then this I think of, if u use NPC-Server...
__________________
No Webhost at the moment
Reply With Quote