UltimateZoneBuilder/Help/gzdb/features/scripting/acs.html
2017-01-15 00:35:40 +02:00

54 lines
2.4 KiB
HTML
Executable file

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>GZDoom Builder features</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="../../../default.css" media="screen" title="Default" />
<style type="text/css">
<!--
.style1 {color: #0066FF}
.style2 {color: #006600}
-->
</style>
</head>
<body>
<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">
<param name="keyword" value="Template">
</object>
<div id="gz_title"><h1>Enhanced scripting workflow</h1></div>
<div id="contents">
<table width="100%" border="0" cellspacing="3" cellpadding="3">
<tr>
<td valign="top"><p><b>GZDoom Builder</b> includes many features to help you to assign and edit scripts easier.</br>
</br>
The Script editor now has a &quot;Script names&quot; drop down, which allows you to view and select individual scripts faster.</br>
</p>
<h3>Pseudo-named scripts</h3>
If you add a comment after the script's opening brace like so:</br>
<p><span class="style1">script 1 (void) {</span> <span class="style2">//My Pseudo-named script</span></br>&emsp;&emsp;[code]</br>
<span class="style1">}</span></p>
it will be used as the script name in the &quot;Script names&quot; drop down and in the Thing and Linedef Edit forms drop downs (the example script will be named as &quot;<strong>[1] My Pseudo-named script</strong>&quot;).</br>
</br>
<p><b>Notice:</b> &quot;Script names&quot; drop down items are updated when the script is compiled successfully.</p></td>
<td><img src="acs_scripteditor.jpg"/></td>
</tr>
<tr>
<td valign="top"><p>Thing and Linedef scripts can now be set much easier.</br>
</br>
<b>Notice:</b> to remove a named or regular script, clear the script selector text box</p>
</td>
<td><img src="acs_thing2.jpg"/><br /><br><img src="acs_thing1.jpg"/></td>
</tr>
<tr>
<td valign="top">If a Thing or a Linedef has a named script attached to it, it will be shown in the info panel.</td>
<td><img src="acs_infoex.jpg"/></td>
</tr>
</table>
</div>
</body>