ubi.com    Forums  Hop To Forum Categories  Might and Magic  Hop To Forums  Heroes of Might and Magic V Cartographers Guild    SetObjectEnabled function
Go
New
Find
Notify
Tools
Reply
  
  Login/Join 
Posted
Has anyone had any success with this?

I am trying to turn an object off, using:

SetObjectEnabled("Blind1", false);

where "Blind1" is the object name. But I keep getting a script error saying: value was nil when getting global with name 'false'

The always helpful editor documentation says the syntax is correct altho it instructs you to place "the flag that sets whether the object will behave standadly when a hero comes to it" where I have placed the word false in my code. What the editor documentation neglects to say is what the acceptable values for that flag are. I am certain false is not an acceptable value which is why I get the error.

Can anyone help?
 
Posts: 19 | Registered: Sat May 27 2006Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

ubi.com    Forums  Hop To Forum Categories  Might and Magic  Hop To Forums  Heroes of Might and Magic V Cartographers Guild    SetObjectEnabled function

Terms of Use