This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Add objects, delete objects automatically using the command line!
#2
To create objects:
http://openrb.com/docs/lua.htm#grp.create

To delete objects use this function:
Code:
-- you can delete by group address
grp.delete('1/1/1')
-- or delete by object name
grp.delete('My object name')
You can find multiple objects either by tag or data type, look for grp.tag and grp.dpt in the docs.
Reply


Messages In This Thread
RE: Add objects, delete objects automatically using the command line! - by admin - 29.12.2015, 17:06

Forum Jump: