Difference between revisions of "Osiris/API/SetStoryEvent"

From Divinity Engine Wiki
Jump to: navigation, search
m
 
Line 4: Line 4:
 
Sends the event '''_Event''' to the object '''_Object'''. '''_Object''' can either be a ''CHARACTERGUID'' or an ''ITEMGUID''.
 
Sends the event '''_Event''' to the object '''_Object'''. '''_Object''' can either be a ''CHARACTERGUID'' or an ''ITEMGUID''.
 
===== Notes =====
 
===== Notes =====
* The event can be caught using the [[Osiris/API/StoryEvent|StoryEvent]] API, and also using the behaviour script '''CharacterEvent''' and '''ItemEvent''' events.
+
* The event can be caught using the [[Osiris/API/StoryEvent|StoryEvent]] API, and also using the behaviour script '''OnCharacterEvent''' and '''OnItemEvent''' events.
 
===== See Also =====
 
===== See Also =====
 
* [[Osiris/API/StoryEvent|StoryEvent]]
 
* [[Osiris/API/StoryEvent|StoryEvent]]
 
   
 
   
 
[[Category:Osiris Calls|SetStoryEvent]]
 
[[Category:Osiris Calls|SetStoryEvent]]

Latest revision as of 22:59, 1 March 2018

Full Definition(s)
  • call SetStoryEvent((GUIDSTRING)_Object, (STRING)_Event)
Description

Sends the event _Event to the object _Object. _Object can either be a CHARACTERGUID or an ITEMGUID.

Notes
  • The event can be caught using the StoryEvent API, and also using the behaviour script OnCharacterEvent and OnItemEvent events.
See Also