Difference between revisions of "Osiris/API/SetStoryEvent"
From Divinity Engine Wiki
(SetStoryEvent) |
m |
||
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 '''CharacterEvent''' and '''ItemEvent''' events. |
Revision as of 17:35, 9 September 2017
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 CharacterEvent and ItemEvent events.