turning with keyboard

Orphen_123

New Member
Reaction score
2
i have made it so when i press then up arrow key my hero will walk forward in the direction he is facing. what i cant do is make it so when i press left or right he starts to turn in that direction
 
You already have a thread open for this topic -_-

Keyboarding events are very common, try the forum search (Under 'Welcome, <Name>' in top right it says Search V)

Also there is info in the free trigger code
 
Orphen_123 said:
i have made it so when i press then up arrow key my hero will walk forward in the direction he is facing. what i cant do is make it so when i press left or right he starts to turn in that direction

Unit - Make Unit Face Angle:

Events
Player - Player 1 (Red) Presses the Left Arrow key
Conditions
Actions
Unit - Make <your unit> face ((Facing of (Triggering unit)) - 10.00) over 0.00 seconds
 
You should set a boolean variable, labeled 'LeftKeyHeld' (Indexes for many players). When you first press the button, set it to true then run a trigger like this:

[Maerlyns trigger with some fixing]
Unit - Make Unit Face Angle:

Events <Fired from seperate trigger>
Conditions LeftKeyHeld equal to true
Actions
Unit - Make <your unit> face ((Facing of (Triggering unit)) - 10.00) over 0.20 seconds
wait .2 seconds
Run (This trigger) checking conditions

That would be better, because it wonts top untill you release (Note: you will need a release trigger to set it back to false)

Need one for the opposite to.. and yea dont make new threads... just dont want to see missing stuff in an arrow key game :P
 
wat is the triiger use for

Unit - Make <your unit> face ((Facing of (Triggering unit)) - 10.00) over 0.20 seconds

is that make unit issue order targeting a point or wat
 
Look in the free trigger thread, I and some others have posted working ones for doing this.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    Happy Thursday!
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1
  • The Helper The Helper:
    Guys just a heads up I am going to be shutting the site down soon. I am just waiting on the NUON people to decide whether they want to transfer forum data and keep the discord. My email is [email protected] for anyone that wants to keep in touch and I have a facebook too. I will make an official post later. Love you guys and will miss everyone!
    +1
  • V-SNES V-SNES:
    Sent a pm @The Helper
  • Stephen Stephen:
    Oh no - please don't lose the Nuon content
    +1
  • The Helper The Helper:
    Someone email AtariAge and see if they want me to transfer the forum data over to it
  • Ghan Ghan:
    Could probably keep NUON stuff around here if we wanted.
  • Ghan Ghan:
    Hmm what to do about the World Editor site though?
  • Stephen Stephen:
    I'd rather personally just own a backup of the Nuon data than see it go to AtariAge honestly. If it gets enshittified as per usual, or if some of the "regular" Jaguar folks get there, it's not gonna be fun
  • The Helper The Helper:
    There will be a github of the forum data so the NUON Forum Data I guess would be available there
  • The Helper The Helper:
    World Editor is technically Ryoko stuff not mine you guys can keep that I am not in that even
  • jonas jonas:
    :( end of an era :(
  • The Helper The Helper:
    Dont think of it as an end jonas - think of it as a beginning, because really my friend that is what it is.

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top