Varying With Key?
-
Can a thruster be set to start at 1500 and with key("up") change to 500 and -500 from key("down")

-
@unknownuser said:
Can a thruster be set to start at 1500 and with key("up") change to 500 and -500 from key("down")

probably. im not sure how. some kinda long code i wont understand

-
Nevermind, i found it anyway.
if key("up")==0 && key("down")==0 then setVar("thrust",1500);elsif key("up")==1 then setVar("thrust",500);elsif key ("down")==1 then setVar("thrust",-500);end; -
my switch code, which I posted back in the toggle script discussion:
if frame==1 then setVar("1",0);elsif key("up")==1 then getSetVar("1",1);elsif key("down")==getVar("1") then getSetVar("1",0);end;...just posted it here because it might be useful, isn't really what you're looking for though.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement