[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 561: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 617: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1065: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1065: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1065: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5312: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5312: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5312: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
Platinum Arts Sandbox - Free 3D Game Maker Forum • Adding a start up script at the start of a new game?
Page 1 of 1

Adding a start up script at the start of a new game?

Posted: December 30th, 2013, 11:07 pm
by Ghostman Gaming
Hi,
Im currently working on a RPG game and was wondering
if it is possiable to have it so when the player starts a new game after the first map loads up for a diolog box to show up telling the player the basic controlls and the mission objective? the only example i can think of is on the FPS map experimental chambers.
:idea:

Re: Adding a start up script at the start of a new game?

Posted: January 1st, 2014, 8:19 pm
by Ghostman Gaming

Re: Adding a start up script at the start of a new game?

Posted: January 2nd, 2014, 5:24 am
by Hirato
experimental chambers has a trigger-once trigger where the player spawns.

I can think of two ways to do this in the RPG.
1. use r_sleep to load up the dialogue - use a global variable check.
2. put it in the mapscript for the first map, under the the "load" signal - this signal is only executed when the map is loaded for the first time.