lowchi -> RE: CMANO v1.09 RELEASE CANDIDATE THREAD (9/2/2015 6:21:11 PM)
|
quote:
ORIGINAL: stilesw Tremendous update! I've tried it with several scenarios and love the improvements/changes. One question - new Lua features such as "Explode a warhead" (which I assume is ScenEdit_AddExplosion) - is there updated Lua documentation on how to use them? I checked the Baloogan Lua reference on-line and did not find the new options listed there. Thanks for your help and overall great support! W. Stiles ScenEdit_AddExplosion({warheadid=460, lat=XX.X, lon=-XX.X, altitude=140000}) Place your mouse over the spot in which you want the warhead to explode. Press CTRL+X. Now go to the LUA console and insert (CTRL+V). For example you get this latitude='36,9820299387315', longitude='-116,570782859215' now you have to convert this in the add explosion line. Should look like this: ScenEdit_AddExplosion({warheadid=460, lat=36.9820299387315, lon=-116.570782859215, altitude=140000}) be aware that the warhead ID and the weapon ID are not the same. The warhead ID can be found at the baloogon wiki. For example: http://wiki.baloogancampaign.com/index.php/DataWeapon?ID=92 ("Warheads") This is not official. Just the way i use it. Anybody feel free to share if there is another way [:)]
|
|
|
|