Let's say that I wanted a certain entity repeated in all (or at least lots) of the scenes in one game. Is there an easy way to do this?
It is possible to create a standalone .entity file (unlike SceneEdit, you have to edit the definition by hand). Then you can load the entity at runtime either using the Game.LoadEntity() method, or Scene.LoadEntity() method.
Game.LoadEntity() loads the entity permanently, so it will appear in all game scenes unless you explicitly hide or unload it.
Scene.LoadEntity() only loads the entity into a current scene. Once you change to other scene, the entity is automatically unloaded.
It's up to you to decide which of these approaches is better suitable for your needs.
In WME demo, the "old guy" character is a standalone entity loaded from external .entity file.
Is there a way to get the hover effect when I place an inventory item over an entity ONLY when there is a possible action when clicking the inventory item on the entity?
Yes, the Game object provides a "SmartItemCursor" property. You set it like this:
Game.SmartItemCursor = true; (e.g. in game.script) and it works like this:
If yous select an item called "book", the mouse pointer will only highlight if the underlying object's script contains an event handler such as:
on "book" ....