snowburn -> [LUA] Activate Mission (2/3/2016 9:45:16 PM)
|
Hello!! Is any way to change the status (from inactive to active) of a mission? I got the following script: local number=ScenEdit_GetKeyValue('destroyedScud') number=number+1 ScenEdit_SetKeyValue('destroyedScud', number) print(ScenEdit_GetKeyValue('destroyedScud')) ScenEdit_SpecialMessage('United States', number..' Scud groups destroyed, '..9-number..' remains' ) if number==3 then ScenEdit_SpecialMessage('United States', 'INIT MISSION 1' ) elseif number==5 then ScenEdit_SpecialMessage('United States', 'INIT MISSION 2' ) elseif number==7 then ScenEdit_SpecialMessage('United States', 'INIT MISSION 3' ) end i need to active mission 1, 2 and 3 when the player destroy 3,5 and 7 scuds sites. Thanks.
|
|
|
|