Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
anwoke8204

Registered:
Posts: 234
Reply with quote  #1 
hi, im wonding if anyone has figured out how to implement a command in missions run by GM to end the simulation once the mission/objective has been completed.  I would like it to do what happens with the scripted missions and have it drop out to the mission status screen where it gives all the stats of the mission.  Is this possible?
Xavier Wise

Registered:
Posts: 1,362
Reply with quote  #2 
That is relatively straightforward.... 

<event name_arme="GM End Mission" id_arme="44e94d80-61d4-4421-adcb-e6c213409b90">
  <if_gm_key keyText="Q" />
  <end_mission />
</event>

This is set so that when the GM presses Q, the mission will end. You can change the GM key to anything you want.The code was created in the mission editor and copied directly from there. To add it to a mission, just copy and paste it into the script.

__________________
Fleet Captain Xavier Wise - TSN Sabre
Link to TSN RP Community Website

Want to follow development of the TSN Sandbox? Head here:
https://ko-fi.com/xavierwise
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.