Difference between revisions of "Osiris/API/SetStoryEvent"

From Divinity Engine Wiki
Jump to: navigation, search
(SetStoryEvent)
 
m
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
* call '''SetStoryEvent'''(''(GUIDSTRING)'''''_Object''', ''(STRING)'''''_Event''')
 
* call '''SetStoryEvent'''(''(GUIDSTRING)'''''_Object''', ''(STRING)'''''_Event''')
 
===== Description =====
 
===== Description =====
Sends the event '''_Event''' to the object '''_Object'''.
+
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]]
+
[[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