Difference between revisions of "Osiris/API/SetStoryEvent"
From Divinity Engine Wiki
m |
m |
||
(One intermediate revision by the same user not shown) | |||
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 ''' | + | * 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.