Stealing
» Siedler Map Source Forum » Siedler DEdK Script Forum » Stealing
Seiten: 1
SH
|
#1 21.07.2018 21:18 Beiträge: 127 |
Stealing
Is there a function through which a thief can steal resources from a given building?
____________________
Sorry for my German
SH
|
#3 22.07.2018 10:33 Beiträge: 127 |
Thank you!
But code to S5Hook is long and I haven't space in my script. What can I do?
____________________
Sorry for my German
mcb
|
#4 22.07.2018 11:52 Beiträge: 1472 |
Do you use the mapeditor to edit your script? It has a limit on how big the lua filesize can be, but you can easyly extend this with tinyscript, or load external scripts (which is extremely helpful for testing, because you can edit your script file and then simply restart the map). But other than that mapeditor limit there is no size limit for scripts (i can easily load my 20000 lines script with Script.Load).
SH
|
#5 22.07.2018 12:54 Beiträge: 127 |
Thank you, tinyscript works.
How to use the ScriptLoad?
____________________
Sorry for my German
Seiten: 1