Using NJG MiniMap with the Dialogue System
Posted: Fri Mar 04, 2016 9:57 am
A designer had a good question about using the Dialogue System's NJG MiniMap support. I'm posting the info here, too, in case it's helpful to others:
The Dialogue System's NJG MiniMap Support lets you control map items.
In NJG MiniMap, you can add map items to a GameObject such as an NPC. These map items appear on the mini map. You can add multiple map items to a GameObject. For example, you could add Question Mark, Exclamation Mark, and Hostile map items to an NPC. (Those are just example names. You can name markers however you want.)
In the Dialogue System, use the NJGMapItem() sequencer command to hide and show map items.
For example, to mark a dragon hostile on the mini map:
There are three places where you will usually use this command:
She also shared this helpful tip about the latest version of NJG MiniMap: If you get an error about duplicate scripts when importing NJG MiniMap, the developer moved the Lean Tween folder. Remove the one inside the Ninjutsu Games folder.
The Dialogue System's NJG MiniMap Support lets you control map items.
In NJG MiniMap, you can add map items to a GameObject such as an NPC. These map items appear on the mini map. You can add multiple map items to a GameObject. For example, you could add Question Mark, Exclamation Mark, and Hostile map items to an NPC. (Those are just example names. You can name markers however you want.)
In the Dialogue System, use the NJGMapItem() sequencer command to hide and show map items.
For example, to mark a dragon hostile on the mini map:
Code: Select all
NJGMapItem(Hostile, Dragon)
- In the Sequence field in conversations. For example, hide the NPC's quest mini map marker when the player turns in a quest.
- In a Sequence Trigger. For example, change a mother bear's marker to Hostile when the player enters the cave where her babies are.
- When abandoning a quest. When you edit a quest in the Dialogue Editor, you can add a custom field named "Abandon Sequence". If this field exists, the Dialogue System will play it when the player abandons a quest. You can use this sequence to change the quest-related map markers.
She also shared this helpful tip about the latest version of NJG MiniMap: If you get an error about duplicate scripts when importing NJG MiniMap, the developer moved the Lean Tween folder. Remove the one inside the Ninjutsu Games folder.