<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://cmm.ozdeadmeat.com/index.php?action=history&amp;feed=atom&amp;title=WaypointActions.insertWPCallback</id>
	<title>WaypointActions.insertWPCallback - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://cmm.ozdeadmeat.com/index.php?action=history&amp;feed=atom&amp;title=WaypointActions.insertWPCallback"/>
	<link rel="alternate" type="text/html" href="https://cmm.ozdeadmeat.com/index.php?title=WaypointActions.insertWPCallback&amp;action=history"/>
	<updated>2026-06-04T14:15:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://cmm.ozdeadmeat.com/index.php?title=WaypointActions.insertWPCallback&amp;diff=6023&amp;oldid=prev</id>
		<title>Ozdeadmeat: waypointActions.insertWPCallback – created via PowerShell script (2025-11-11T21:12:44Z)</title>
		<link rel="alternate" type="text/html" href="https://cmm.ozdeadmeat.com/index.php?title=WaypointActions.insertWPCallback&amp;diff=6023&amp;oldid=prev"/>
		<updated>2025-11-11T10:12:45Z</updated>

		<summary type="html">&lt;p&gt;waypointActions.insertWPCallback – created via PowerShell script (2025-11-11T21:12:44Z)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:FunctionInfo|fName=          waypointActions.insertWPCallback|fDescription=   Injects a callback action into a waypoint task table, enabling execution of custom Lua scripts when a unit reaches a waypoint. It validates input, constructs a task with a wrapped action, and logs the modified waypoint structure for debugging.|parentFile=     cmm.spawnFunctions.lua|syntax=         CMM.waypointActions.insertWPCallback(WPTbl &amp;lt;TBL&amp;gt;, _groupName &amp;lt;string&amp;gt;, _waypointNumber &amp;lt;number&amp;gt;)|return=         table|returnDesc=     Returns the modified waypoint table with the new callback task inserted.|example=        CMM.waypointActions.insertWPCallback({&amp;lt;taskTable&amp;gt;, &amp;quot;GroupA&amp;quot;, 1)|exampleDesc=    Adds a callback task to the waypoint for &amp;quot;GroupA&amp;quot; at position 1, which executes the DoWayPointStuff function when the group arrives at the waypoint, and logs the updated structure for debugging.|related=        |note=           |envType= CMM|par1=         table WPTbl|reqType1=     table|reqName1=     WPTbl|desc1=       The waypoint configuration table to modify, must contain a &amp;#039;task&amp;#039; field with a &amp;#039;params&amp;#039; field under &amp;#039;tasks&amp;#039;.|par2=         string _groupName|reqType2=     string|reqName2=     _groupName|desc2=       The name of the group associated with the waypoint, used in the callback function name and message.|par3=         number _waypointNumber|reqType3=     number|reqName3=     _waypointNumber|desc3=       The sequential number of the waypoint, used to identify the specific waypoint in the path.}}&lt;/div&gt;</summary>
		<author><name>Ozdeadmeat</name></author>
	</entry>
</feed>