Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change map with area...
Adrianis Offline
Senior Member

Posts: 620
Threads: 6
Joined: Feb 2012
Reputation: 27
#17
RE: Change map with area...

(03-11-2013, 10:02 AM)JustAnotherPlayer Wrote:
(03-11-2013, 09:59 AM)richm0nkey Wrote: Instead of using OnStart() to add the collide callback try using OnEnter() to see if it is because of a game save.

Dude, if he put it on the void OnEnter() part, he will change map everytime he collided with that area.

The callback would have been set up the first time the map was run, and it would be saved when the player leaves/exits the map. Only when the callback is removed (either by using RemoveCollide.. or after being activated with delete set to true) would it not be present if you load up a saved game.

If its in OnEnter, then the callback will be set up every time the map is loaded, which would be a problem if it's a one-time only event.


Tigerwaw - Do you hear the sound / have the screen fade when you collide with that area?
If not, check to make sure the area is a Script area, and that it's name is exactly as it appears in the script.
Failing these, make the area really big to make sure it's not just that the player's body is not colliding with it.
Also, check the names of the map & start pos area in the map you are trying to go to.
Finally, try removing the .map at the end of the map name to see if that makes a difference

03-13-2013, 01:24 PM
Find


Messages In This Thread
Change map with area... - by Tiger - 03-09-2013, 12:43 AM
RE: Change map with area... - by i3670 - 03-09-2013, 01:27 AM
RE: Change map with area... - by 7heDubz - 03-09-2013, 01:38 AM
RE: Change map with area... - by Tiger - 03-09-2013, 01:38 AM
RE: Change map with area... - by NaxEla - 03-09-2013, 03:46 AM
RE: Change map with area... - by 7heDubz - 03-09-2013, 04:23 AM
RE: Change map with area... - by Tiger - 03-09-2013, 11:27 AM
RE: Change map with area... - by Your Computer - 03-09-2013, 11:56 AM
RE: Change map with area... - by Tiger - 03-10-2013, 10:26 AM
RE: Change map with area... - by No Author - 03-10-2013, 11:14 AM
RE: Change map with area... - by Tiger - 03-10-2013, 10:00 PM
RE: Change map with area... - by PutraenusAlivius - 03-11-2013, 08:13 AM
RE: Change map with area... - by The chaser - 03-10-2013, 12:32 PM
RE: Change map with area... - by No Author - 03-11-2013, 07:56 AM
RE: Change map with area... - by richm0nkey - 03-11-2013, 09:59 AM
RE: Change map with area... - by PutraenusAlivius - 03-11-2013, 10:02 AM
RE: Change map with area... - by Adrianis - 03-13-2013, 01:24 PM



Users browsing this thread: 1 Guest(s)