P3D-Legacy/P3D/Content/Data/Scripts/frontier/battlefactory/challenge/lostbattle.dat

28 lines
1.5 KiB
Plaintext
Raw Normal View History

2016-09-07 18:50:38 +02:00
<EFBFBD><EFBFBD>version=2
@text.show(You lost the battle.~You'll be returning~to the lobby now.)
@camera.reset
@screen.fadeout
@Player.warp(frontier\battlefactory\main.dat,14,0.1,3,0)
@camera.reset
@level.update
@screen.fadein
@player.turnto(0)
:if:<storage.get(boolean,thirdperson)>=true
:then
@camera.activatethirdperson
:else
@camera.deactivatethirdperson
:endif
:if:<storage.get(integer,factory_class)>>0
:then
@register.change(battlefactory_challenge_<storage.get(integer,factory_level)>_class,<system.int(<storage.get(integer,factory_class)>-1)>)
:endif
@register.change(battlefactory_challenge_<storage.get(integer,factory_level)>_previous_streak,0)
@script.start(frontier\battlefactory\challenge\clearup)
:endscript