View Single Post
Old 03-17-10, 07:27 AM   #8
digitizedsoul
Machinist's Mate
 
Join Date: Sep 2006
Posts: 125
Downloads: 33
Uploads: 1
Default

Quote:
Originally Posted by Drifter View Post
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" );
}

Is this python? Looks like it...

Is "GameCommand" defined? If not that would explain the crashes..
digitizedsoul is offline   Reply With Quote