mirror of
https://github.com/Ragora/T2-BoL.git
synced 2026-03-03 12:30:22 +00:00
Brought up to date with the newest T2BoL I've located
This commit is contained in:
parent
8c96cba3e1
commit
accd31895e
287 changed files with 108557 additions and 107608 deletions
|
|
@ -1,37 +1,37 @@
|
|||
// #autoload
|
||||
// #name = Static Waypoint Fix
|
||||
// #version = 1.0
|
||||
// #category = Fix
|
||||
// #warrior = Jsut
|
||||
// #description = Fixes static waypoints in the command circuit.
|
||||
|
||||
package JsutStaticWaypointFix
|
||||
{
|
||||
|
||||
function CommanderTree::processCommand(%this, %command, %target, %typeTag)
|
||||
|
||||
{
|
||||
|
||||
parent::processCommand(%this, %command, %target, %typeTag);
|
||||
|
||||
// special case?
|
||||
|
||||
if(%typeTag < 0)
|
||||
{
|
||||
switch$(getTaggedString(%command))
|
||||
{
|
||||
// waypoints: tree owns the waypoint targets
|
||||
case "CreateWayPoint":
|
||||
%target.settext(%this.currentWaypointID);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
activatePackage(JsutStaticWaypointFix);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// #autoload
|
||||
// #name = Static Waypoint Fix
|
||||
// #version = 1.0
|
||||
// #category = Fix
|
||||
// #warrior = Jsut
|
||||
// #description = Fixes static waypoints in the command circuit.
|
||||
|
||||
package JsutStaticWaypointFix
|
||||
{
|
||||
|
||||
function CommanderTree::processCommand(%this, %command, %target, %typeTag)
|
||||
|
||||
{
|
||||
|
||||
parent::processCommand(%this, %command, %target, %typeTag);
|
||||
|
||||
// special case?
|
||||
|
||||
if(%typeTag < 0)
|
||||
{
|
||||
switch$(getTaggedString(%command))
|
||||
{
|
||||
// waypoints: tree owns the waypoint targets
|
||||
case "CreateWayPoint":
|
||||
%target.settext(%this.currentWaypointID);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
activatePackage(JsutStaticWaypointFix);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue