Get SaintAxe&Ror SpeechMaker Now And build your conversations easily ! |
The wall - Read LUA higlighted source code
Need to share Highlighted and indented LUA source code ?
|
Posted by pyhunter101 on : 2011-10-13 11:30:27 - Last edited : 2011-11-17 19:41:51
2 Spyplane's/helo's (2 zones)
function onFiring_iu35ussfldr_sa02meusoc(firingSoldierName, weaponComponentName) if ob < 5 then spyplane = OFP:activateEntitySet("spy") else spyplane = OFP:activateEntitySet("spy2") end end function onSpawnedReady_spy( setName, setID, tableOfEntities, errorCode ) OFP:setInvulnerable("EchelonI63", true) OFP:setVehicleIgnoredByAI("helo3", true) OFP:rapidMove("EchelonI63","waypointI200","OVERRIDE") end function onSpawnedReady_spy2( setName, setID, tableOfEntities, errorCode ) OFP:setInvulnerable("EchelonI73", true) OFP:setVehicleIgnoredByAI("helo4", true) OFP:rapidMove("EchelonI73","waypointI131p","OVERRIDE") end function onEnter_triggerzoneI11(zoneName, unitName) OFP:destroyEntitySet(spyplane) end
