P3D-Legacy/P3D/Content/Data/Scripts/hiddengrotto/warpto.dat

20 lines
978 B
Plaintext

version=2
@screen.fadeout
@storage.clear
@storage.set(string,grottoplace,<level.filename>)
:select:<level.filename>
:when:main
:select:<level.mapfile>
:when:twirl forest\main.dat
@storage.set(string,grottoplace,twirl)
:endwhen
:when:1
@storage.set(string,grottoplace,route47)
:when:outside
@storage.set(string,grottoplace,indigo)
:endwhen
@player.warp(hiddengrotto\<storage.get(string,grottoplace)>.dat,2,0.1,4,0)
@player.turnto(0)
@level.update
:end