Aerisetta Active member Feb 11, 2023 #1 Hi, looking for some advice I want to make an entity that returns directly to the main menu, from I made an endlevel branch end entity, however, it just skips to the next branch on the level list. Thanks!
Hi, looking for some advice I want to make an entity that returns directly to the main menu, from I made an endlevel branch end entity, however, it just skips to the next branch on the level list. Thanks!
Kratus OpenBOR Developer Staff member Feb 11, 2023 #2 Aerisetta said: Hi, looking for some advice I want to make an entity that returns directly to the main menu, from I made an endlevel branch end entity, however, it just skips to the next branch on the level list. Thanks! Click to expand... @Aerisetta You can use the gotomainmenu() script function. Code: anim attack1 @script gotomainmenu(7); @end_script loop 0 delay 5 offset 45 119 bbox 21 2 45 119 frame data/chars/maxima/punch000.gif frame data/chars/maxima/punch001.gif Example: Upvote 0 Downvote
Aerisetta said: Hi, looking for some advice I want to make an entity that returns directly to the main menu, from I made an endlevel branch end entity, however, it just skips to the next branch on the level list. Thanks! Click to expand... @Aerisetta You can use the gotomainmenu() script function. Code: anim attack1 @script gotomainmenu(7); @end_script loop 0 delay 5 offset 45 119 bbox 21 2 45 119 frame data/chars/maxima/punch000.gif frame data/chars/maxima/punch001.gif Example:
Bloodbane Well-known member Feb 11, 2023 #3 If you're using Exit entity from The House, you can set make branch which goes to quick level at end of level set like this: Code: ... branch MMenu file data/levels/quick.txt then give the Exit entity MMenu alias so when the Exit is touched, player will jump to quick level which ends quickly and returns to main menu. Upvote 0 Downvote
If you're using Exit entity from The House, you can set make branch which goes to quick level at end of level set like this: Code: ... branch MMenu file data/levels/quick.txt then give the Exit entity MMenu alias so when the Exit is touched, player will jump to quick level which ends quickly and returns to main menu.