Random doors

Make games! Discuss those games here.

Moderators: Bob the Hamster, marionline, SDHawk

Post Reply
User avatar
BMR
Metal King Slime
Posts: 3310
Joined: Mon Feb 27, 2012 2:46 pm
Location: The Philippines
Contact:

Random doors

Post by BMR »

I was reading through the plotscripting dictionary, and I can't seem to figure out how to place a door using a script. Something like, PUT DOOR(x, y, doornum). Does something like that already exist and I've just been lazy in not being able to find it? Or is it currently impossible to move doors around using scripting?

Thanks!
Being from the third world, I reserve the right to speak in the third person.

Using Editor version wip 20170527 gfx_sdl+fb music_sdl
User avatar
Spoonweaver
Liquid Metal King Slime
Posts: 6247
Joined: Mon Dec 08, 2008 7:07 am
Location: Home
Contact:

Post by Spoonweaver »

what I always do is just make an npc that acts like a door. problem solved.
User avatar
Bob the Hamster
Liquid Metal King Slime
Posts: 7460
Joined: Tue Oct 16, 2007 2:34 pm
Location: Hamster Republic (Ontario Enclave)
Contact:

Post by Bob the Hamster »

You can get door position with a script, but there is not currently any way to set door location.

Spoonweaver's way is going to be the easiest workaround.
User avatar
BMR
Metal King Slime
Posts: 3310
Joined: Mon Feb 27, 2012 2:46 pm
Location: The Philippines
Contact:

Post by BMR »

Ah, yes, NPCs that act as doors. I knew the answer was something ridiculously simple, thanks!
Being from the third world, I reserve the right to speak in the third person.

Using Editor version wip 20170527 gfx_sdl+fb music_sdl
Post Reply