cutscene door appearance

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).
AuthorTopic: cutscene door appearance
Warrior
Member # 4778
Profile Homepage #0
I wanted to have a short cutscene in my scenario. A person appears and opens the way for the party. So, there is a wall in loc(16,9) and I wanted a door to appear. It works fine, but after the cutscene the party can't use the door. The door behaves like a wall. This is my piece of script:

beginstate 15;
if(get_flag(5,4) == 0) {
activate_hidden_group(4);
force_instant_terrain_redraw();
pause(25);

text_bubble_on_char(9,"... was a wise choice.");
force_instant_terrain_redraw();
pause(25);

text_bubble_on_char(9,"");
text_bubble_on_char(9,"This is the way.");
set_terrain(16,9,48);
force_instant_terrain_redraw();
pause(25);

erase_char(9);
force_instant_terrain_redraw();

set_flag(5,4,1);
}
break;

--------------------
www.bigblue.de.gg BoA graphics and more
Posts: 188 | Registered: Monday, July 26 2004 07:00
...b10010b...
Member # 869
Profile Homepage #1
You need to put a door script on the space that's going to contain the door.

--------------------
The Empire Always Loses: This Time For Sure!
Posts: 9973 | Registered: Saturday, March 30 2002 08:00
Warrior
Member # 4778
Profile Homepage #2
That seems logical. Thx.
I didn't know that I can put door scripts on any terrain.

--------------------
www.bigblue.de.gg BoA graphics and more
Posts: 188 | Registered: Monday, July 26 2004 07:00