QT AGIStudio allows AGI games to be created or edited.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
qt-agistudio/help/addn.html

20 lines
452 B

<HTML>
<HEAD>
<TITLE>addn</TITLE></HEAD>
<BODY>
<h1>addn</h1>
<B>Category</B><p>
<a href="math_commands.html">Mathematical commands</a><p>
<p>
<B>Syntax</B><p>
<p>
addn(vA,B);<p>
vA += B;<p>
vA = vA + B;<p>
<B>Description</B><p>
<p>
B is added to vA. Since a var can only be from 0-255, if the result is greater than 255, then the value wraps around, e.g. 250 + 10 would give 4.<p>
<p>
<B>See also</B><p>
<a href="addv.html">addv</a><p>
</BODY></HTML>