Osiris/API/StoryEvent: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
(StoryEvent)
 
m (Mention that StoryEvent events can have many origins)
Line 2: Line 2:
* event '''StoryEvent'''(''(GUIDSTRING)'''''_Object''', ''(STRING)'''''_Event''')
* event '''StoryEvent'''(''(GUIDSTRING)'''''_Object''', ''(STRING)'''''_Event''')
===== Description =====
===== Description =====
Thrown whenever an object receives an event
Thrown whenever an object receives an event. These events may come from [[Osiris/API/SetStoryEvent|SetStoryEvent]], but many other APIs also throw events to objects and all of these can be caught using this event.
===== Parameters =====
===== Parameters =====
* '''_Object''': The object that received the event. Can either be a ''CHARACTERGUID'' or an ''ITEMGUID''.
* '''_Object''': The object that received the event. Can either be a ''CHARACTERGUID'' or an ''ITEMGUID''.

Revision as of 16:40, 9 September 2017

Full Definition(s)
  • event StoryEvent((GUIDSTRING)_Object, (STRING)_Event)
Description

Thrown whenever an object receives an event. These events may come from SetStoryEvent, but many other APIs also throw events to objects and all of these can be caught using this event.

Parameters
  • _Object: The object that received the event. Can either be a CHARACTERGUID or an ITEMGUID.
  • _Event: The name of the event.
Notes
  • /
See Also