mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-21 13:20:54 +00:00
Add model and script information to BetaComment
This commit is contained in:
parent
ea8f617508
commit
4fd3a994e9
@ -964,6 +964,9 @@ namespace MWScript
|
||||
msg << "Grid: " << cell->getCell()->getGridX() << " " << cell->getCell()->getGridY() << std::endl;
|
||||
Ogre::Vector3 pos (ptr.getRefData().getPosition().pos);
|
||||
msg << "Coordinates: " << pos << std::endl;
|
||||
msg << "Model: " << ptr.getClass().getModel(ptr) << std::endl;
|
||||
if (!ptr.getClass().getScript(ptr).empty())
|
||||
msg << "Script: " << ptr.getClass().getScript(ptr) << std::endl;
|
||||
}
|
||||
|
||||
std::string notes = runtime.getStringLiteral (runtime[0].mInteger);
|
||||
|
Loading…
x
Reference in New Issue
Block a user