Functions Documentation | |
Name | sysGetStargateDestinationNode |
Syntax | (sysGetStargateDestinationNode [nodeID] gateID) -> nodeID |
Argument List | nodeID: the node ID (optional. uses current node if not provided) gateID: the gate ID |
Returns | nodeID: the node ID |
Category | system |
Description | Used to get the nodeID of the node that the stargate connects to. |
Example |
taken from stkDistanceToStK
(block (theDestNode theDist) (setq theDestNode (sysGetStargateDestinationNode nodeID theGate)) (if (not (find nodesChecked theDestNode)) (block Nil (setq theDist (stkDistanceToStK theDestNode nodesChecked)) (if (ls theDist bestDist) (setq bestDist theDist) ) ) ) ) |
Comment |
Mod of the Month (February '24) |
Featured Mods (random) |
Shrikes Mines & Missiles |
Northwind Equipment Pack for 1.0 |
Quality Mods (random) |
BattleZone |
Cargo summary |
Balanced Mods (random) |
Captain's Log 3.1 |
F.F.A.S. (Friendly Fire Avoidance System) for Autons |