![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
03-17-10, 06:40 AM
|
#1 |
|
Frogman
![]() Join Date: Mar 2010
Posts: 308
Downloads: 75
Uploads: 0
|
Here is an example. The orange highlight is the part I modified. The command should work, but crashes. Any ideas?
strategy DialogLine_RootDialog_CHIEF_NoCampaign_37_Click(Di alog) { precond { Dialog:IsDialogLineClicked( "DialogLine_RootDialog_CHIEF_NoCampaign_37" ) == 1 } action { Dialog:GameCommand( "Crash_dive" ); } |
|
|
03-17-10, 07:27 AM
|
#2 | |
|
Machinist's Mate
![]() Join Date: Sep 2006
Posts: 125
Downloads: 33
Uploads: 1
|
Quote:
Is this python? Looks like it... Is "GameCommand" defined? If not that would explain the crashes.. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
