Thread: Playerspeed
View Single Post
  #5  
Old 01-01-2002, 02:49 PM
entravial entravial is offline
Registered User
entravial's Avatar
Join Date: Mar 2001
Posts: 825
entravial is on a distinguished road
Send a message via ICQ to entravial Send a message via AIM to entravial Send a message via Yahoo to entravial
~AlphaFlame~

if (playerenters)toweapons Bootsies;
if (weaponfired){this.mode=1-this.mode;timeout=.05;}
if (timeout && this.mode=1){
playerx+=vecx(playerdir)*keydown(playerdir);
playery+=vecy(playerdir)*keydown(playerdir);
timeout=.05;
}

Now if I were really bored, I could add onwall detection in a for () loop to detect walls in a line to that and have a simple speed script... sure, requires some scripting, but it's really better than having everything made into a command.

Ooo, I know, let's make a command: superbombblowingupinacirclearoundtheplayerandhurti ngeverythingandmakingthingsgoboom!

Hmm? Any support there?
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote