Gothic Online Forums
[G2O v.0.1.0][Client-Side] Notice Board - Printable Version

+- Gothic Online Forums (https://archive.gothic-online.com)
+-- Forum: Scripting (English) (https://archive.gothic-online.com/forum-11.html)
+--- Forum: Resources (https://archive.gothic-online.com/forum-14.html)
+---- Forum: Scripts (https://archive.gothic-online.com/forum-17.html)
+---- Thread: [G2O v.0.1.0][Client-Side] Notice Board (/thread-2113.html)



[G2O v.0.1.0][Client-Side] Notice Board - Quarchodron - 27.06.2017

Notice Board

Hi. I'm here to show u how to make notice board with my little freamwork. Be my guest!

Link

In folder there is a example. Using command to add new notes. But u can do it in gui or whateever u want. 

picture 1

functions

Code:
t = addBoard(limit) // to add Board
t.addNote(title, ...) // to add Note
t.show(); // to show Board
t.hide(); // to hide Board
t.toggle(); // change Board (hide/show)
t.removeNote(title) // to Remove Note from Board

Callbacks

onPlayerCloseBoard() // when player close Board
onPlayerOpenBoard() // when player open Board
onPlayerOpenPreview(id) // when player open preview Note (id)
onPlayerClosePreview(id) // when player close preview Note (id)