Difference between revisions of "Osiris API Tips"

From Divinity Engine Wiki
Jump to: navigation, search
(Blanked (delete). All this content and more is in the Osiris API documentation)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<br>
+
 
<h2>Main Osiris API</h2>
 
<h3>Events</h3>
 
<p>Events are a way for Osiris to inform script that something happened. All event parameters have <i><b>[in]</b></i> semantics.<br>
 
</p>
 
<div>
 
<div>
 
<div>
 
<div>
 
<h4>CharacterBlockedBy</h4>
 
<u>Full definitions</u></div>
 
<div>
 
<ul><li>event <b>CharacterBlokedBy</b>(<i>(CHARACTERGUID)</i><b>_Defender</b>, <i>(CHARACTERGUID)</i><b>_Attacker</b>, <i>(CHARACTERGUID)</i><b>_AttackerOwner</b>)</li></ul>
 
</div>
 
<div><br>
 
<u>Description</u></div>
 
<div><span style="background-color:transparent;font-size:1em">Thrown when a character blocks an attack from another character.</span><u><br>
 
</u><br>
 
<u>Parameters</u><br>
 
<ul><li><b>_Defender</b>: The character that received/defended the attack.</li>
 
<li><b>_Attacker</b>: The character that attacked the <b>_Defender</b>.</li>
 
<li><b>_AttackerOwner</b>: The character that owns the <b>_Attacker</b> character.</li></ul>
 
<b><br>
 
</b><u>Notes</u><br>
 
<ul><li><b>_AttackerOwner </b>can be the same character as <b>_Attacker</b>, <b>_AttackOwner </b>will be different in the case of summoned characters.</li></ul>
 
<br>
 

Latest revision as of 11:03, 17 September 2017