Thread: system
View Single Post
  #5  
Old 10-04-2001, 03:28 AM
Enigma_GP6 Enigma_GP6 is offline
Banned
Join Date: Jul 2001
Location: Who?
Posts: 261
Enigma_GP6 is on a distinguished road
Send a message via ICQ to Enigma_GP6 Send a message via AIM to Enigma_GP6
oh, okay, well, you have to be more specific, as I remember, if you want it to do that, it would go something like this, but you may revise all you want, because I am making this up as I go.:

PHP Code:
while (keydown(keyname)&&(keydown(name)){
if (
keydown(name)&&keydown(name)){
//commands here,
//like the sprites and stuff like that, this in
//a loop, but with an 'if' command,
//so only if, beacuse I found that a plain
// 'while' loop seems to not work right on some
//occasions. Just put in stuff like 
playersprite=spritename;
 }
}
timeout 0.05
And that outhgt to do it, although I don't exactly know what you mean, but that is what I am getting out of what you need.

-Rebel95
Reply With Quote