call a room description.[solved]

devilmaymoan
29 May 2019, 19:45

I have long character description with photos into my game. I don't like the fact that the player need to scroll all the way back up every time they call the look at on themselves or NPC's.

2 things I need -

1- A way to call the room description the player is currently in
2- If possible a way to change the " continue " of the (wait for key press ) for something else like "close" for example.

it would help keep my rooms tidy by giving me a way to " close the look at description" . of course it would have to work for any room the player might be in.


mrangel
29 May 2019, 21:22

1- A way to call the room description the player is currently in

ShowRoomDescription()

2- If possible a way to change the " continue " of the (wait for key press ) for something else like "close" for example.

JS.eval("$('#endWaitLink').text('your text here');")

devilmaymoan
29 May 2019, 21:31

thanks :)

problem solved