Jump to content

Recommended Posts

Posted (edited)

Excuse my English but I translate with google!

I'm working on a job but I need help!

Grimes thank you for the patience you have with me!

 

must load mistv1_1.lua

 

This script allows you to delete previously deleted objects, and just one example of what I'm trying to create, I need somebody to help me with lua.

 

 

First you need to enable writing to a log file in your logs Dcs

C:/Eagle Dynamics/DCS World/Scripts/MissionScripting.lua

 

dofile('Scripts/ScriptingSystem.lua')
--Sanitize Mission Scripting environment
--This makes unavailable some unsecure functions. 
--Mission downloaded from server to client may contain potentialy harmful lua code that may use these functions.
--You can remove the code below and make availble these functions at your own risk.
local function sanitizeModule(name)
_G[name] = nil
package.loaded[name] = nil
end
do
sanitizeModule('os')
--sanitizeModule('io')
--sanitizeModule('lfs')
require = nil
loadlib = nil
end

 

with the F10 there are 3 menus

load saved miz (to load the units destroyed)

miz save (to save your game)

Explodes unit (blow up the units to speed up the test)

 

 

for the test

launched the mission, destroy units and saved

re launched the mission and try f10 menu load saved mission!

 

tell me what you think!

 

 

 

 

new version 1.1 : added save and load Flag 1 to 1000

Save_1.1.miz

Edited by spinter

====VIAF====

Spinter 155° "Pantere Nere"

 

TsSimComms

 

My Site aiupgrade.net

 

 

 

Posted

I have a problem to destroy the planes!

If plane and the list of client deletes them and me are no longer available!

you can establish IA or Client or Player?

 

 

 

 
world.event.S_EVENT_DEAD

because this event does not work with a plane?

====VIAF====

Spinter 155° "Pantere Nere"

 

TsSimComms

 

My Site aiupgrade.net

 

 

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...