Jump to content

[Help] createObject Element


iPollo

Recommended Posts

Posted

I do not know why, but its returning nil, is in a function whose other features work just fine, only that is not working
 

    local element
	element = createObject(item, x, y, z)
    outputDebugString("ELEMENT ID: "..getElementID(element))

DebugString: "INFO: ELEMENT ID: "

  • Moderators
Posted
21 minutes ago, iPollo said:

only that is not working

Did you assign an ID to the object? Afaik you to add (manually) id's with setElementID.

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...