KGFMapSystem Support

This page describes how to add Dialogue System support for KGFMapSystem. (KGFMapSystem is required.)

KGFMapSystem copyright © KOLMICH Creations.

How to Set Up KGFMapSystem Support

To enable KGFMapSystem support in the Dialogue System, import the package Third Party Support ► KGFMapSystem Support. This will add a sequencer command to control KGFMapSystem icons.

Sequencer Commands

KGFMapIcon()

Syntax: KGFMapIcon(iconName[, subject])

Description: Sets a map icon in KGFMapSystem. This icon becomes visible, and all other icons for the object become invisible. Note: The subject must have a KGFMap Icons component (Component → Pixel Crushers → Dialogue System → Third Party → KGFMapSystem → KGF Map Icons).

Parameters:

  • iconName: The name of an icon on the subject.
  • subject: (Optional) The object whose icon to change. Default: speaker.

Note: This command is useful to change icons when the player picks up a quest during a conversation. If the player abandons the quest in the quest log window, the window will look for a field on the quest named "Abandon Sequence" and play it. You can use KGFMapIcon() commands in this sequence to turn off any icons that are no longer relevant.

Example:

  • KGFMapIcon(HasQuestIcon) (Sets the speaker's icon to the "HasQuestIcon" icon.)

<< Third Party Integration