know own object reference

Post » Tue Jun 19, 2012 3:40 pm

Hi

I have an activator on my map

And i want in a script know what it's his Object reference to be able to use Getdistance on this activator

It's don't existe something like "THIS" and return my object reference?
User avatar
Prisca Lacour
 
Posts: 3375
Joined: Thu Mar 15, 2007 9:25 am

Post » Tue Jun 19, 2012 12:56 pm

The "Self" special variable is accessible in all non-global functions, including events.

Cipscis
User avatar
Marion Geneste
 
Posts: 3566
Joined: Fri Mar 30, 2007 9:21 pm


Return to V - Skyrim