It just cannot work... bool showmessage has to be in a global script... And I don't know how to make global scripts for now so that's the problem... :p
Printable View
It just cannot work... bool showmessage has to be in a global script... And I don't know how to make global scripts for now so that's the problem... :p
That is okay, I am trying to learn scripting, does anybody know of a really good tutorial?
ZCWiki: http://www.shardstorm.com/ZCwiki/Main_Page
Then search Zscript. The best way to learn is to try to make the most simple scripts (drawing a circle on the screen and make it grow for example), then try something else a little bit more complex, then something else... Etc.
Don't try to do something complex at first. ;)
I really liked that tutorial though: http://www.purezc.com/forums/index.php?showtopic=33916
Really helpful.
Er, don't know if this is still relevant, but I would do this with a... y'know, DMap string. Which only shows up the very first time you enter a dungeon. Unless you need to change the scene in some way, this should be more than sufficient.