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 (September '24) |
Featured Mods (random) |
RPC's Utility Items Pack |
XML resources 1.08fa |
Quality Mods (random) |
Original Freighter |
6seg freighters v3p0 |
Balanced Mods (random) |
Visible Damage V2 |
Osaka Class Transport [In honor of Frontier 0.5] 1.1e |