Functions Documentation | |
Name | staGetMaxStructuralHP |
Syntax | (staGetMaxStructuralHP station) -> hp |
Argument List | station: the station to check for max structural HP |
Returns | number: the structural HP of the station |
Category | station |
Description | Used to get the max structural HP of a station. |
Example |
Taken from &intContainerOnDamage;
; Compute the how powerful the damage is; 100 = enough to destroy all HP (setq maxHP (staGetMaxStructuralHP theObj)) (if (gr maxHP 0) (setq damageAdj (max 1 (divide (multiply 100 damageHP) maxHP))) (block Nil (setq damageAdj 1) (setq maxHP 1) ) ) |
Comment |
22 visitors online |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Mod of the Month (April '24) |
Featured Mods (random) |
Osaka Class Transport [In honor of Frontier 0.5] 1.1e |
TX2 Centauri Module |
Quality Mods (random) |
The Network |
Reactors Extended |
Balanced Mods (random) |
Agauptera-class yacht |
Shrikes Mines & Missiles |