Difference between revisions of "GetEventData"
Jump to navigation
Jump to search
m
→Description: Grammar; fix function name
imported>RobinHood70 m (→Description: Spelling) |
imported>RobinHood70 m (→Description: Grammar; fix function name) |
||
Line 1: | Line 1: | ||
==Description== | ==Description== | ||
'''GetEventData''' | '''GetEventData''' is a special condition function used to test the data in an event sent to the [[Story Manager]]. Its primary use is to conditionalize nodes and quests in the story manager, as well as to conditionalize aliases in quests. The event data persists even after the quest initializes, so it can also be used to conditionalize dialogue and packages owned by the quest. | ||
There are three parameters. | There are three parameters. | ||
#Event Function | #Event Function | ||
#*This is a drop down that lets you pick a function to test the data against | #*This is a drop down that lets you pick a function to test the data against: | ||
#**GetIsID | #**GetIsID | ||
#**GetValue | #**GetValue | ||
Line 12: | Line 12: | ||
#**IsInList | #**IsInList | ||
#Event Member | #Event Member | ||
#* This is the Event Member we are running the Event Function on | #* This is the Event Member we are running the Event Function on. Some combinations of Function and Member are irrelevant, for example GetValue makes sense testing a numeric event data, but GetIsID does not, whereas a GetIsID makes sense when testing an Actor or Reference data member. | ||
#Data(Optional) | #Data (Optional) | ||
#* For some Event Functions, an additional parameter is needed. For example, if you are using | #* For some Event Functions, an additional parameter is needed. For example, if you are using IsInList Actor1, the third parameter is where you supply the FormList. | ||
==Notes== | ==Notes== |