scarycave Posted July 27, 2012 Share Posted July 27, 2012 I'm having a bit of a problem, I've got some doors that all share the same coding, and in their coding they do a GetParentRef, and rename themselves to "parentsname's Door". Thing is they always seem to take the name of the last door placed in game's name. So Door5parentname's would display for every door that shares the coding, I'd really like to get this to work so I wouldn't have to make a ton of doors. If you got any ideas/solutions I'd love to hear them. Link to comment Share on other sites More sharing options...
QQuix Posted July 28, 2012 Share Posted July 28, 2012 That is the way it is, so, no simple solution. One way I can think of is to use the OnLoad block to rename the door on the fly, so each time the player enters a room, the door inside get renamed. Problem here is if you have two doors in the cell and they must have different names. A refinement of the above would be to rename the door when the player gets near it. Problem here is if two doors are real close to each other. So, maybe a solution would be to rename the door when the player looks at it. Link to comment Share on other sites More sharing options...
scarycave Posted July 29, 2012 Author Share Posted July 29, 2012 That's too bad. :( Oh well, at least the doors aren't to close together that the player can see both their names at once. :)I'll probably go with "GetDistance Player < 10 codecodecodecode etc." Thanks for the tips. Link to comment Share on other sites More sharing options...
Recommended Posts