How to make level end? Created 13 years ago2010-07-08 13:01:47 UTC by mikeys9607 mikeys9607

Created 13 years ago2010-07-08 13:01:47 UTC by mikeys9607 mikeys9607

Posted 13 years ago2010-07-08 13:01:47 UTC Post #282816
HHi! I'm making a level in Worldcraft but can't make a goal. How do I do this?
Posted 13 years ago2010-07-08 13:07:07 UTC Post #282818
Ending a level and scoring a goal are two different things. What are you trying to accomplish, and for what mod?
Posted 13 years ago2010-07-08 13:07:44 UTC Post #282819
This is one of the most vague questions.

Could you clarify beyond 'goal'?

And you may want to switch from worldcraft to hammer.
Crollo CrolloTrollo
Posted 13 years ago2010-07-08 13:45:01 UTC Post #282821
By goal I mean finish the level and go to the menu, The mod is just Half-Life
Posted 13 years ago2010-07-08 14:02:24 UTC Post #282824
He's not talking about football, there are other definitions to the word goal.

As for mikeys question: Use this entity: game_end.
The game_end entity ends the map once triggered and returns the player to the title screen, or in other mods like svencoop, ns and cs it switches the map.
Skals SkalsLevel Designer
Posted 13 years ago2010-07-08 14:06:20 UTC Post #282825
To end a game and return to the main menu, use the trigger_end_section entity. Possible section values are:

_oem_end_training - takes the player back to the main menu
_oem_end_logo - same as above
_oem_end_demo - This was used in the demo. Same as above, but also attempts to open 'media/order/default.hml'.
The Mad Carrot The Mad CarrotMad Carrot
Posted 13 years ago2010-07-08 14:07:35 UTC Post #282826
^ doesn't game_end do exactly the same thing? 0.o
Skals SkalsLevel Designer
Posted 13 years ago2010-07-08 14:08:56 UTC Post #282827
If i remember correctly, it made my game crash when i first used it, many years ago. Trigger_end_section did the trick just fine.
The Mad Carrot The Mad CarrotMad Carrot
Posted 13 years ago2010-07-08 14:17:28 UTC Post #282828
Well I don't know. game_end does the same thing and ends the game. You probably had an error. It is quite dodgy for me I have to admit, sometimes it doesn't work.
Skals SkalsLevel Designer
Posted 13 years ago2010-07-08 14:22:18 UTC Post #282829
It is quite dodgy for me I have to admit, sometimes it doesn't work.
Exactly, thats why i prefer the trigger_end_section.
The Mad Carrot The Mad CarrotMad Carrot
Posted 13 years ago2010-07-08 21:06:45 UTC Post #282834
How exactly doesn't it work?
You must be logged in to post a response.