Skip to content

Scripts for beginners.

User Avatar
#308
Auto-translated
Azgalor

We place the hero in the castle and write in the scripts: EnableHeroAI( "scripted hero name", nil )

Thank you! But a problem arose here.

And what does this mean?
Value was NIL when getting global with name 'Ingvar'
Wrong type of argument 1, when calling function 'EnableHeroAI'