![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Sailor man
![]() Join Date: Sep 2007
Location: Elche, Spain.
Posts: 43
Downloads: 196
Uploads: 0
|
![]()
Hi, guys!. I'm with another problem!
![]() I'm trying to make an script for listen, when i push Toggle Battle Stations direct access, with Ui interface menu of TheDarkWright, the sound correct for each case. (on/off) I'm created the next script file, /data/scripts/AI/Crew/Toggle_battle_stations.aix : strategy Toggle_battle_stations(wp) { action { Wp:ExecuteCommand( "Toggle_battle_stations" ); if Wp:Isbattlestations() then { Wp:PlaySoundWithLipsync("ExecutiveOfficer\Normal\M C_CR_SO_01_A", 0) } else { Wp:PlaySoundWithLipsync("ExecutiveOfficer\Normal\M C_CR_SO_03", 0) } endif; Wp:ScriptCompleted(); } } When I active this script the game cause me CTD, when I try to loading a mission. I don't understand what's wrong!. Please, can you help me? Thanks in advance!. |
![]() |
![]() |
|
|