P3D-Legacy/P3D/Content/Data/Scripts/league/entere4.dat

29 lines
597 B
Plaintext
Raw Normal View History

version=2
:select:<player.position>
:when:4,0,15
@player.move(3)
@register.unregister(trainer_league\<register.registered(leagueupgrade)>\<level.filename>)
@register.unregister(defeat<level.filename>)
:when:5,0,15
@player.move(3)
@register.unregister(trainer_league\<register.registered(leagueupgrade)>\<level.filename>)
@register.unregister(defeat<level.filename>)
:endwhen
@entity.setvisible(3,1)
@entity.setcollision(1,0)
:if:<register.registered(defeat<level.filename>)>=True
:then
@entity.remove(2)
@entity.setvisible(1,0)
@entity.setcollision(1,1)
:endif
@sound.play(shutter)
:end