~ Forums of Enroth ~

An Enroth diehard fan community
 
HomeHome  FAQFAQ  SearchSearch  RegisterRegister  Log inLog in  

Share | 
 

 [Ironfist ver 1.3.0] Lua script, instructions validation problem

Go down 
AuthorMessage
Unknown_Hero
Vampire
Vampire
Unknown_Hero

Messages : 459
Quality Points : 58
Registration Date : 2015-09-06

PostSubject: [Ironfist ver 1.3.0] Lua script, instructions validation problem   2018-10-13, 05:12

Sometimes there is a problem with the validation of instructions.

Load NEWGAME1.GX1
Move Sandro outside the graveyard square
Move Sandro on the graveyard square

The instructions at line 385 in the "_MapName.MX2.lua" script file are not validated:

Code:
if HasArtifact(hero, ARTIFACT_POWER_RING) == true and (name == "Zom" or name == "Darlana" or name == "Zam" or name == "Ranloo" or name == "Charity" or name == "Rialdo" or name == "Roxana" or name == " Sandro" or name == "Celia") then

However, the hero has the Power Ring artifact and the hero name is Sandro.

It seems random.
Back to top Go down
Unknown_Hero
Vampire
Vampire
Unknown_Hero

Messages : 459
Quality Points : 58
Registration Date : 2015-09-06

PostSubject: Re: [Ironfist ver 1.3.0] Lua script, instructions validation problem   2018-10-13, 23:19

My mistake, there is a space before the name of the hero Sandro.

Sorry for that. Razz
Back to top Go down
 
[Ironfist ver 1.3.0] Lua script, instructions validation problem
Back to top 
Page 1 of 1
 Similar topics
-
» Anti DDOs script
» script for avatar in Topics and Recent topics widget
» Help with snow script and java.
» Script reformat is needed
» Help with Prefix Script Tune up

Permissions in this forum:You cannot reply to topics in this forum
~ Forums of Enroth ~ :: Modding Guild :: Heroes of Might and Magic II: Project Ironfist :: Bug Reports-
Jump to: