Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 45 and Version 46 of content/LevelHowTo


Ignore:
Timestamp:
Dec 22, 2013, 12:09:44 PM (11 years ago)
Author:
jo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • content/LevelHowTo

    v45 v46  
    236236{{{
    237237#!xml
     238<!-- Positioning objects in a circle -->
    238239<?lua
    239240max = 16
     
    368369
    369370}}}
    370  * Executing ConsoleCommands (= executing code):
    371 {{{
    372 #!xml
    373 
    374 }}}
    375 
     371 * Executing '''ConsoleCommands''' (= executing code):
     372{{{
     373#!xml
     374<!-- End the Mission (success) -->
     375   <Script code="Mission endMission true" onLoad="false">
     376        <events>
     377            <trigger>
     378                <EventListener event=endOfLevel />
     379            </trigger>
     380        </events>
     381    </Script>
     382}}}
     383The ConsoleCommand "'''Mission endMission true'''" gets executed.
     384==== How to find out more console commands ====
     385Open the in-game console and press [Tab] (command completion) to find out which console commands already exist. Note that if there is no shortcut, the command completion only reveals the command word by word - you have to specify the class and press tab again to see which commmands are created in a specific class and repeat this process again to see which argument is needed for a specific ConsoleCommand.
    376386
    377387== Quests ==