Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EventGhost] - Enhancement - Several, Adds EventGhostEnduringEvent class and icon #318

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kdschlosser
Copy link
Member

Currently there is no means of knowing what kind of event has been triggered. This modification fixes that problem. A different icon is now used to identify an enduring event from a standard one. This will make it far easier for the user to implement looping code to perform actions in succession.

I was pretty crafty in how i display the icon. because i not only wanted to have the icon changed in the log but also in the tree as well. once an event has been triggered and set as an enduring event it will change the icon in the tree. when an event is added to the tree it will check and see if that event has been flagged as an enduring event. if so it will change the new events icon accordingly. an XML attribute of EventType is added to the save data to identify the icon to use.

The reason for the bugfix label is because this was technically something that should have been done and is in the gray area of being a bug

Currently there is no means of knowing what kind of event has been triggered. This modification fixes that problem. A different icon is now used to identify an enduring event from a standard one. This will make it far easier for the user to implement looping code to perform actions in succession.  

I was pretty crafty in how i display the icon. because i not only wanted to have the icon changed in the log but also in the tree as well. once an event has been triggered and set as an enduring event it will change the icon in the tree. when an event is added to the tree it will check and see if that event has been flagged as an enduring event. if so it will change the new events icon accordingly. an XML attribute of EventType is added to the save data to identify the icon to use.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants