How do I make NPCs face a different direction

Ask and answer questions about making games and related topics. Unrelated topics go in that other forum.

Moderators: marionline, SDHawk

Post Reply
User avatar
TabletopTimeTurner
Red Slime
Posts: 56
Joined: Fri Mar 25, 2016 1:33 am
Location: hell my dudes

How do I make NPCs face a different direction

Post by TabletopTimeTurner »

I have an npc that i just need to face right
User avatar
guo
Metal Slime
Posts: 749
Joined: Fri Dec 04, 2009 9:12 pm

Post by guo »

Code: Select all

set NPC direction (who, direction)
http://hamsterrepublic.com/ohrrpgce/doc ... ing%20NPCs
vvight.wordpress.com
User avatar
TabletopTimeTurner
Red Slime
Posts: 56
Joined: Fri Mar 25, 2016 1:33 am
Location: hell my dudes

Post by TabletopTimeTurner »

guo wrote:

Code: Select all

set NPC direction (who, direction)
http://hamsterrepublic.com/ohrrpgce/doc ... ing%20NPCs
bless your soul thank you so much
User avatar
TabletopTimeTurner
Red Slime
Posts: 56
Joined: Fri Mar 25, 2016 1:33 am
Location: hell my dudes

Post by TabletopTimeTurner »

guo wrote:

Code: Select all

set NPC direction (who, direction)
http://hamsterrepublic.com/ohrrpgce/doc ... ing%20NPCs
if i'm doing it by the NPC's ID would i put 5 or Five?
User avatar
guo
Metal Slime
Posts: 749
Joined: Fri Dec 04, 2009 9:12 pm

Post by guo »

The number "5". :)
vvight.wordpress.com
User avatar
TabletopTimeTurner
Red Slime
Posts: 56
Joined: Fri Mar 25, 2016 1:33 am
Location: hell my dudes

Post by TabletopTimeTurner »

guo wrote:The number "5". :)
Like this??
Attachments
Screen Shot 2016-08-28 at 10.20.17 PM.png
Screen Shot 2016-08-28 at 10.20.17 PM.png (18.8 KiB) Viewed 1116 times
User avatar
guo
Metal Slime
Posts: 749
Joined: Fri Dec 04, 2009 9:12 pm

Post by guo »

Looks good to me. When do you want it to run? After a text box?
vvight.wordpress.com
User avatar
TabletopTimeTurner
Red Slime
Posts: 56
Joined: Fri Mar 25, 2016 1:33 am
Location: hell my dudes

Post by TabletopTimeTurner »

guo wrote:Looks good to me. When do you want it to run? After a text box?
The NPC is supposed to always face right
User avatar
kylekrack
Liquid Metal Slime
Posts: 1242
Joined: Mon Jun 16, 2014 8:58 am
Location: USA
Contact:

Post by kylekrack »

When placing NPCs on a map, you can also set their starting direction by holding ctrl+arrow key instead of pressing space or enter. You can also put multiple NPCs on one tile this way. You can also set them to "Not face player" when used so that they don't change direction.
My pronouns are they/them
Ps. I love my wife
User avatar
guo
Metal Slime
Posts: 749
Joined: Fri Dec 04, 2009 9:12 pm

Post by guo »

Lol totally overthought it.
vvight.wordpress.com
User avatar
TabletopTimeTurner
Red Slime
Posts: 56
Joined: Fri Mar 25, 2016 1:33 am
Location: hell my dudes

Post by TabletopTimeTurner »

kylekrack wrote:When placing NPCs on a map, you can also set their starting direction by holding ctrl+arrow key instead of pressing space or enter. You can also put multiple NPCs on one tile this way. You can also set them to "Not face player" when used so that they don't change direction.
I think something is wrong because I am on a Mac and when I do ctrl+arrow key it doesn't do anything
User avatar
TabletopTimeTurner
Red Slime
Posts: 56
Joined: Fri Mar 25, 2016 1:33 am
Location: hell my dudes

Post by TabletopTimeTurner »

wait nevermind I gotta do control+command and then the arrow key okay
TMC
Metal King Slime
Posts: 4308
Joined: Sun Apr 10, 2011 9:19 am

Post by TMC »

On Mac, IIRC, control+left/right changes to the next/previous workspace (see Spaces in Settings), and will do nothing if you only have one workspace, and control+up/down is for navigating windows. Thanks, I didn't know that control+cmd overrides that. We should add cmd+arrows as alternative keys if those will work.
Last edited by TMC on Tue Aug 30, 2016 1:51 am, edited 1 time in total.
User avatar
Bob the Hamster
Lord of the Slimes
Posts: 7660
Joined: Tue Oct 16, 2007 2:34 pm
Location: Hamster Republic (Ontario Enclave)
Contact:

Post by Bob the Hamster »

I have also been meaning to make direction editable on the screen that you see when you press enter on an NPC instance.

Another thing to get to someday :)
User avatar
kylekrack
Liquid Metal Slime
Posts: 1242
Joined: Mon Jun 16, 2014 8:58 am
Location: USA
Contact:

Post by kylekrack »

I disabled a lot of keybindings for spaces, because a lot of them involved ctrl, which ruins wallmapping as well. I didn't know command could override that either.
My pronouns are they/them
Ps. I love my wife
Post Reply