I think I found a bug.
When I get an objekt or a hotspot and try to get their name i get the Description instead.
Object *objAt = Object.GetAtScreenXY(mouse.x, mouse.y);
Hotspot* hotAt = Hotspot.GetAtScreenXY(mouse.x, mouse.y);
if ( null != objAt ) { o = objAt.ID; player.Say(objAt.Name); }
if ( null != hotAt ) { h = hotAt.ID; player.Say(hotAt.Name); }
My player says 'Door' instead of 'oDoorRoom'
So I think this is a bug.
It would be better, if there a two properties.
.Name and .Description.
When I get an objekt or a hotspot and try to get their name i get the Description instead.
Object *objAt = Object.GetAtScreenXY(mouse.x, mouse.y);
Hotspot* hotAt = Hotspot.GetAtScreenXY(mouse.x, mouse.y);
if ( null != objAt ) { o = objAt.ID; player.Say(objAt.Name); }
if ( null != hotAt ) { h = hotAt.ID; player.Say(hotAt.Name); }
My player says 'Door' instead of 'oDoorRoom'
So I think this is a bug.
It would be better, if there a two properties.
.Name and .Description.