Adds additional capabilities for tour cards:
- Option to specify exact position for the camera, rather than an object. This will enable looking at items which are not their own objects, such as the draw chaos token button.
- Option to specify height for object look. This acts as a camera zoom; we cannot control the zoom at all, much less when attached. By controlling the height when we're looking at an object we simulate zoom.
- Right/Left narrator image. This will flip the card so the narrator's image is on the right or left, adding some variety to the presentation.
- Cardinal points for card position. In addition to just adding variety, this will allow the card to be placed closer to where you want it, including other Global XML elements.
A card can collide with the area more than once; many of the campaign memory bags caused a double collision on placement, and it would happen if the user picked up or flipped the card.
This would cause any behavior that triggered from the event to each time, so suppress further events which don't actually change the scenario.
Based in the newly-named Mythos Area, when a Scenario card lands the name will be extracted and sent to interested objects.
Playarea will use this for special location handling, and there will be other cases in the future.
Creates an API object for the PlayArea, and moves most references to the PlayArea to use the API instead.
Image swapper is excluded on this, as I'm not completely sure how TTS will handle having an object rebuild itself.
A TTS bug can cause tokens to be lost or possibly duplicated if they are added to a container while that container is being searched. This uses event listeners to block bag changes while it is being searched.
Steps to reproduce:
1. Search the bag
2. Add a token to the bag (bless/curse is easiest)
3. Remove a token from the bag using the search window
4. Close the search
The token supposedly added in #2 will be gone.
Creates the basic framework for the SCED introduction/training tour. As this will be a large feature, this is intended to checkpoint
progress and work.
What's here:
- Basic tour script definition
- Script UI creation, camera handling, and flow
What's not here:
- Multiplayer support. Everything is currently locked to white.
- Final UI. Most UI is placeholder and will be updated later.
- Extra script capability such as higlighting objects, explicit positioning, etc.