Feature request - automatically add common functions to room script

Started by Dave Gilbert, Tue 02/08/2016 21:54:05

Previous topic - Next topic

Dave Gilbert

Specifically room_AfterFadeIn() and room_Load(). I know I can easily click on the event buttons to create them myself, but since both functions are used in 99% of all cases it would save a tiny bit of time if they were automatically added. Would such a thing be possible?

Crimson Wizard

Dave, have you tried creating room template? You can make a dummy room with those script functions, or anything else, create a template of it, and then use it to create all your new rooms.

Dave Gilbert

I didn't know such a thing existed. I will look into that. Thanks!

Crimson Wizard

If you right click on a room there will be "Export as template" command. You name the template and save it. From now on you can choose that template when you are creating new room. There is actually a list of room template icons in the "New room" menu - where you also select room's number.

Dave Gilbert

Just sussed it andand HOLY CRAP I can't believe I've never noticed this feature before now. Staring me right in the face for... I don't know how long. Thanks for letting me know!

SMF spam blocked by CleanTalk