![]() |
jumping npc
i need a little help with this script all i need added to it is the onwall script to keep them from going over stuff like trees buildings etc.
if (playerenters) { } if (playertouchsme) {toweapons jump; } if (weaponfired) { freezeplayer 1.5;playery-=1;sleep .1; playery-=1;sleep .1;playery-=1;sleep .1; playery-=1;sleep .1;playery-=1;sleep .1; playery-=1;sleep .1;playery-=1;sleep .1;playery-=1;sleep .1;playery+=1;sleep .1;playery+=1; sleep .1;playery+=1;sleep .1;playery+=1;sleep .1; playery+=1;sleep .1; playery+=1;sleep .1; playery+=1;sleep .1; playery+=1;sleep .1;} if you can improve on it or think you can do it better than by all means do. thanks for any help with this. |
make it not go through walls?
|
Jadis:
¡ES IMPOSIBLE! |
its not impossible to make it go up but not through walls
|
ive seen it done
|
if (onwall)
|
?????????????/
|
...crap
one, there are no for loopswhivch would make that 10x smaller, two an onwall detection for that is really pretty easy
|
also you used sleep .1, if anything use .05, it makes it look less jumpy
|
ew
|
lol i think he wanted it to be jumpy.
|
lol
nonono lol i meant jumpy as in not smooth =) wiseguy...
|
lol so its not like floating HAHAHA lol like a falling napkin
|
yehda
|
lol noone is answering this guys question just talking about it
|
lol
|
hahaha geez all i need is the onwall added to it so they can't get on buildings or through doors or to certain spots there not suppose to get too.
it has to be jumpy like it is now. not smooth like there doing some matrix deal. |
simple linear jumping
NPC Code: |
and liquid ice saves the day
|
YAY!
|
Quote:
wit ur name rite now (not ne more hahahah):spam: |
EDGE YUO = ***GOT,
stop spamming. |
Quote:
|
| All times are GMT +2. The time now is 03:58 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.