Osiris/API/MakeWar
From Divinity Engine Wiki
Full Definition(s)
- call MakeWar((CHARACTERGUID)_Source, (CHARACTERGUID)_Target, (INTEGER)_IgnoreVote)
Description
Throws a UserMakeWar(_UserIDOfSource, _UserIDOfTarget, 1) event. The _IgnoreVote parameter is currently ignored.
Notes
- If _Source or _Dest is invalid or not currently a player character, nothing will happen.
- This call does not do anything besides throwing the aforementioned UserMakeWar event. However, the Shared mod intercepts this event, and reacts to it by changing the relation of the alignments between the characters of the users controlling respectively _Source and _Target to 0 (= hostile), if neither of these characters is currently in arena mode.
- If both characters are controlled by the same user, this will not have any effect.