Identifying rooms

Discussion about Mods for Prison Architect

Moderator: NBJeff

Spartelfant
level0
Posts: 3
Joined: Fri Nov 20, 2015 1:28 pm

Identifying rooms

Postby Spartelfant » Mon Dec 24, 2018 8:57 pm

Hello fellow modders,

Is there any way to identify a room's name or type from the room index?

For example

Code: Select all

World.GetCell(0, 0).Room.i
returns -1 if the cell isn't located in any room, otherwise it will return the index of the room. However I haven't found a way to correlate a room id with a room name or type.
AztecUK
level1
level1
Posts: 13
Joined: Mon Oct 29, 2018 1:56 pm

Re: Identifying rooms

Postby AztecUK » Mon Dec 24, 2018 9:35 pm

Heck yes did use Notepad++ on the save file. I do need to make my level editor 1.20 beta release for new version, had my head buried in this file for a while. It's Christmas, sorry If I posted in wrong place but would love some feedback for my editor!

Merry Christmas

AztecUK

And for "across the pond" friends Happy Holidays

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 1 guest