![]() |
onwall help
ok, i made a speed up script or whatever. i used the original onwall function, but can anyone tell me the onwall2 syntax and stuff?
NPC Code: i used temporary this.string because i find it easier to manipulate ;o |
onwall2 is just for version3...It have not been added to version 2.2... (I MIGHT be wrong, but i don't think so)
EDIT: I forgot the command x.x onwall2(x,y,width,height) its a rectangular area that it checks..... |
thanks man ;D
edit: doesnt seem to work ;o |
Quote:
Quote:
and I would suggest an increment checker for speed movements so you cant bump into a wall when your not even touching it as you go fast. meaning use a for loop inside the keydown to check each tile before the one you want to move to and jump to the furthest one without passing over a wall |
;o
heh, im so used to using strtofloat on variables its getting kind of sad ;\ thanks for the help though :D dach, where in missouri are you? |
the hillbilly capitol of south st louis, jefferson county, *shudders*
|
This code would benefit from adherence to KSI-GS.
|
Quote:
|
Quote:
It's not unfinished. I might add to it later on, but it's mostly fine at the moment. |
All times are GMT +2. The time now is 02:55 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.