[SOLVED] Problems with BASS Template

Started by Alex Trivien, Sun 25/10/2015 22:50:34

Previous topic - Next topic

Alex Trivien

Hi everyone !

I try to use the BASS Tamplate and i have found some stucking stuff.

1) When you try to move your inventory to the bottom of ste screen and set "always shown" - it change nothing =))
so your inventory now is in the bottom of the screen but not visible, so you must move your mouse to the top of the screen, and then inventory will apear but in the bottom =)

2) i can't find how to show the speech and thoughts in the text window GUI

in script i found that everythis is doing like this


      player.Say("Looks alright.");

"Display(...); " - is what i need, but i can't move it in the bottom of the screen.

HELP, please =))))


Snarky

1) I haven't looked at the BASS Template code, but it probably has some code that specifies that the inventory should open when you move the cursor to the top of the screen. (Something like "if(mouse.y < SOME_NUMBER)" inside a repeatedly_execute() function) If so, you'll have to change it to "if(mouse.y > SOME_OTHER_NUMBER)".

2) The Display() function is hardcoded to display a message in the middle of the screen. I don't think you can move it. When you want to display speech and thoughts, you should use the Character.Say() and Character.Think() functions.

Crimson Wizard

#2
There is DisplayAt function that lets you specify Y coordinate for the message:
http://www.adventuregamestudio.co.uk/wiki/Text_display_/_Speech_functions#DisplayAtY
Similarily, you could use Character.SayAt:
http://www.adventuregamestudio.co.uk/wiki/Character_functions_and_properties#Character.SayAt

Alex Trivien

Snarky & Crimson Wizard

Thank you =)

SMF spam blocked by CleanTalk