https://wiki.hard-light.net/index.php?title=In-sequence&feed=atom&action=historyIn-sequence - Revision history2024-03-29T12:31:33ZRevision history for this page on the wikiMediaWiki 1.31.7https://wiki.hard-light.net/index.php?title=In-sequence&diff=63304&oldid=prevTopAce: Created page with " In-Sequence (Conditional operator) Supplies arguments for the <argument> special data item. The first argument in the list will be selected to satisfy the expression(s) in..."2021-04-07T15:03:41Z<p>Created page with " In-Sequence (Conditional operator) Supplies arguments for the <argument> special data item. The first argument in the list will be selected to satisfy the expression(s) in..."</p>
<p><b>New page</b></p><div> In-Sequence (Conditional operator)<br />
Supplies arguments for the <argument> special data item. The first argument in the list will be selected to satisfy the expression(s) in which <argument> is used. The same argument will be returned by all subsequent calls<br />
<br />
Takes 1 or more arguments...<br />
All: Anything that could be used in place of <argument>.<br />
<br />
==Example==<br />
One of the possible uses of this SEXP is to gradually [[beam-free]] a warship, like this:<br />
<br />
$Formula: ( when-argument <br />
( in-sequence "turret20" "turret22" ) <br />
( true ) <br />
( beam-free "Phoenicia" "<argument>" ) <br />
( invalidate-argument "<argument>" ) <br />
)<br />
+Name: Phoenicia beams<br />
+Repeat Count: -1<br />
+Trigger Count: 2<br />
+Interval: 5<br />
<br />
(where ''Phoenicia'' is a [[GTD Hecate|GTD ''Hecate'']] and the turrets above are her upper and lower forward main beam cannons, respectively.)<br />
<br />
[[Category:SCP SEXPs]]</div>TopAce