Post 11 Mar 2016, 17:38 by Maro
I understand that this thread is extremely old but I've decided to try out this scripting thing.
I followed your tutorial but still don't get it at all.
for instance (and I litteraly copy pasted the code from the tutorial) in the second part of the tutorial it should give a message when a certain building is build, however I just got an error message "Script compile errors:
[Error] (9:49): Unknown identifier 'StatHouseTypeCount'"
after dabling around some more somehow that was no problem anymore but then it stated there there should be a period between "end" and ";" wich I added then the errors stopped but the script was not working (obviously)
also adding the same procedure twice within the script seems to give a problem?
after that I decided to do the most basic thing from the tutorial on a map I created I wanted a message to show but wanted it to pop up no matter wich position you choose. so I added the Actions.ShowMsg string 4 times but every time for another player wich resulted in getting the message once playing on position 1 but have it spawn consecutivly in a rapid phase for the other positions.
The parameters and types also seem to elude me, so what I would actually like to ask is if you can point me in a general direction on how to get started with the dynamic scripting?
Maro