Frictional Games Forum (read-only)
How to put the script ChangeMap? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: How to put the script ChangeMap? (/thread-12202.html)



How to put the script ChangeMap? - Urakozachok - 12-30-2011

How to put the script ChangeMap?

(transition player to another level when released into the aria)

I put everything seems to be correct, but it gives an error ...



Write a ready example, please.


RE: How to put the script ChangeMap? - Your Computer - 12-30-2011

And what would that error be? (If everything was correct, you wouldn't be getting an error.)


RE: How to put the script ChangeMap? - Urakozachok - 12-30-2011

(12-30-2011, 06:50 PM)Your Computer Wrote: And what would that error be? (If everything was correct, you wouldn't be getting an error.)



Message: No matching signatures to main 'ChangeMap(string@&, string@&)'



RE: How to put the script ChangeMap? - Your Computer - 12-30-2011

Usage example:
PHP Code:
ChangeMap("name_of_map.map""player_start_position""start_sound""end_sound"); 

Practical example:
PHP Code:
ChangeMap("name_of_map.map""player_start_position"""""); 

Invalid example:
PHP Code:
ChangeMap("name_of_map.map""player_start_position");