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.

Get group address from event script
#1
Hi,

Is it possible to obtain the group adress of an object from which an event script was triggered?

I have a number of objects that have the same tag and an event script triggered by the tag. When the scripts executes, I now check each object with an if ... elseif until I find the object.

It would be more elegant and possibly quicker if I could determine the object directly.

Thanks.
Reply
#2
Hi,

Use event.dst

BR,

Erwin
Reply
#3
(04.01.2017, 13:03)Erwin van der Zwart Wrote: Hi,

Use event.dst

BR,

Erwin

Hello Erwin,

Is this documented somewhere? I looked at the documentation mentioned in the first post of this section but could not find it...

Thx

EDIT: OK, this was a case of just RTFM... Blush
Reply


Forum Jump: