![]() |
Bleh I can't script
Can someone check why this script doesn't make the player run fasten when he presses A rapidly?
if (playerenters) { timeout=.05; this.allowed=1; } if (timeout) { if (playersprite in |1,8|&&this.allowed==1&&keydown(5)) { this.allowed=0; if (playerdir==0&&!onwall(x,y)) {playery--;} if (playerdir==2&&!onwall(x,y+2.5)) {playery++;} if (playerdir==1&&!onwall(x,y)) {playerx--;} if (playerdir==3&&!onwall(x+2.5,y)) {playerx++;} } if (timeout&&!keydown(5)) { this.allowed=1; } timeout=.05; } Pleeeeeaaaaassssssseee! :D |
Because A is 6 and not 5
|
That may make some sense.
Thanks! :D |
Sorry for the spam, but it didn't work and A is 5.
I still need help! :D |
:( I was hoping for you :)
Bleh guess I will have to go and connect to Delteria or do some other suicidial act... |
Error
Shadow Dragons has something like that but theres makes you walk EVERYWHERE
|
Ummm
They can script but they wasnt tring to make you just walk fast! It is a STAFF WEAPON
|
Thanks for the tips kai, I suppose I will have to do it myself and fight real hard for it to work. (Since the NAT i speak with doesnt understand what it should do, he has made LAT Boots with onwall detection three times now =/)
|
I made that press-as-fast-as-you-can-to-gain-heart NPC some time ago,but it works
it may help you (the variables have german names) NPC Code: |
Join the revolution to get rid of German vars
Wtf uh okay german vars, really scary.
Btw Kai, I got a slight bit of the script working!@ |
Quote:
|
Your right stupid people do take stuff from the Sdragons and use it on thier server. But that's not why they were there.
They made NPC's that other people could learn from. But if they don't want to learn they just won't learn.... hmm... Signed, Rogue Shadow -TT-*C* (TCN) |
Most of my scripting knowledge comes from reading commands.rtf!
Not much comes from other people. |
Someone lock me in a room =P padded hopefully, because scripting drives me nuts.
|
Most of my scripting comes from looking at other scripts and learning of them (NOT copying off them. *Looks at Kai*), learning from other people and trying out stuff. I might be able to make that script, but I don't have time now, the onwall wouldn't be that good and it might be a pretty long script. Not that long Kai.
|
| All times are GMT +2. The time now is 04:24 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.