How do i find the object_id of a called object

question: I have two or more object that call the same script. So I have Switch 1 that call’s script Test1 and Switch 2 that also call’s script Test1. How do I know the object_id of the object that called script Test1? The varable $IPS_SELF gives the object_ID of the script but not from the object_id of the switch1.

who can help?


$IPS_VARIABLE is the solution.

Look here.

I found it… I have been looking for days for this…

Thanks!!! :wink: