Difference between revisions of "Osiris/API/StoryEvent"

From Divinity Engine Wiki
Jump to: navigation, search
(StoryEvent)
 
m
 
(2 intermediate revisions by the same user not shown)
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''.
 
* '''_Event''': The name of the event.
 
* '''_Event''': The name of the event.
 
===== Notes =====
 
===== Notes =====
* /
+
* The bahaviour script CharacterEvent and ItemEvent calls result in a story event on the Osiris side.
 
===== See Also =====
 
===== See Also =====
 
* [[Osiris/API/SetStoryEvent|SetStoryEvent]]
 
* [[Osiris/API/SetStoryEvent|SetStoryEvent]]
 
   
 
   
[[Category:Osiris Events]]
+
[[Category:Osiris Events|StoryEvent]]

Latest revision as of 22:58, 1 March 2018

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
  • The bahaviour script CharacterEvent and ItemEvent calls result in a story event on the Osiris side.
See Also