prccowboy Posted March 27, 2018 Posted March 27, 2018 (edited) ok, so I'm just getting into lua scripting (I haven't done much programming for a LONG time and that was in "dead" languages like Assembly) So far, I've learned some cool things to enhance mission building but there are a few items I haven't figured out. Is it possible to: 1) dynamically change ai damage? (I know I can use Unit.getLife() to gather info but can I change the life value?) 2) get coordinate information from player/client's SPI? (example: gather vec2/vec3 information from the SPI to use for other purposes) postscript: (one more) When an ai plane/helicopter lands and the crew pops out onto the ground next to the aircraft, are these separate units (can't find them on the unit list) or are they just an animation of the original unit? (and if so, can they be turned off?) thanks for any feedback Edited March 27, 2018 by prccowboy
feefifofum Posted March 27, 2018 Posted March 27, 2018 Can't help you on 1 and 2. For item 3: I believe they are separate units but are not accessible through the scripting engine (hence the decision to spawn infantry units for all the medevac/SAR style scripts rather than using the actual aircrew.) THE GEORGIAN WAR - OFFICIAL F-15C DLC
Recommended Posts