Jump to content

I have played blades of avernum and I am now new to editor. Can anyone help in the new beginning?


Recommended Posts

  • Replies 105
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

1) How to place an anti-magic field or a quickfire or something related to that in an area? Use the put_field_on_space() call. 2) How to change a character's attitude (Friendly/Neutral) if a

At the beginning of the script, you need to declare variables. Right after your begintownscript, there should be: variables; short choice;  

I think I understand...?   so let me try and clarify this. you have two outdoor sections and two towns.   you want to enter one town from the first outdoor section, then insid

  • 2 weeks later...

I did some cutscene related scripting today, and ...

 

beginstate 11;
message_dialog("You come to the main hall of this town. As you arrive, a big figure comes down from
the stairs. It's a dragon! You can't believe yourself. This should be a important part of your
quest.","The dragon starts to speak.");
force_view_center(54,38);
pause(2);

relocate_character(12,53,38);
force_instant_terrain_redraw();
pause(3);
relocate_character(12,52,38);
force_instant_terrain_redraw();
pause(3);
relocate_character(12,51,38);
force_instant_terrain_redraw();
pause(3);
relocate_character(12,50,38);
force_instant_terrain_redraw();
pause(3);

text_bubble_on_char(12,"Who are you?");
force_instant_terrain_redraw();
pause(20);

message_dialog("Before you can tell something...","");
text_bubble_on_char(12,"However,you have came in..");
force_instant_terrain_redraw();
pause(25);

text_bubble_on_char(12,"And my guards have left you..");
force_instant_terrain_redraw();
pause(25);

text_bubble_on_char(12,"You couldn't have killed them as");
force_instant_terrain_redraw();
pause(25);

text_bubble_on_char(12,"you would have been killed by doomguards");
force_instant_terrain_redraw();
pause(25);

text_bubble_on_char(12,"then this arrival should be generous");
force_instant_terrain_redraw();
pause(25);

text_bubble_on_char(12,"Welcome then, we can talk.");
force_instant_terrain_redraw();
pause(25);
break;
 

The script only works upto the point 

message_dialog("Before you can tell something...","");

and the game crashes for 2-3 seconds and things go as there was nothing in the script after that! What was the mistake? Please help me. And, this topic was silent for few days as I was just unable to do any designing for a week.

Link to post
Share on other sites

You have to clear the last text bubble before you can put a new one on the same character. So you need to have:

text_bubble_on_char(12,"");
text_bubble_on_char(12,"However,you have came in..");
force_instant_terrain_redraw();
pause(25);

And so on for every text bubble after.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...