Trigger_changelevel glitch Created 3 years ago2020-12-11 03:41:01 UTC by meow_moment meow_moment

Created 3 years ago2020-12-11 03:41:01 UTC by meow_moment meow_moment

Posted 3 years ago2020-12-11 03:41:01 UTC Post #345053
I'm trying to do a map transition, but when i edit a trigger_changelevel value the corresponding trigger_changelevel also has its values altered, meaning it's new map value gets set to the map im already in. This means either it switches to the same map and i end up in a dead end or it switches to a different map but i spawn at 0,0,0 unable to move. How can i fix this?
Posted 3 years ago2020-12-11 12:29:39 UTC Post #345054
Did you assign a globalname to the changelevels? That might be causing the settings to carry over.
Posted 3 years ago2020-12-11 19:29:47 UTC Post #345055
@solokiller whats the difference between a globalname and a regular name?
Posted 3 years ago2020-12-12 00:30:45 UTC Post #345056
A targetname is used to reference entities in a single map, usually to trigger them or to do things like set up scripted events.
A globalname is used to synchronize entities between maps. The global state is copied and stored in save games, usually to do things like opening doors and triggering scripted events when a player goes to another map.

You should never have to use a globalname on a changelevel.
You must be logged in to post a response.