Difference between revisions of "GetIsID"

360 bytes added ,  16:22, 9 September 2010
Added "GetIsID Player" workaround
imported>Vswe
m (Added Search Terms)
imported>Hammil
(Added "GetIsID Player" workaround)
Line 20: Line 20:
     endif
     endif
   end
   end
You can also use it to check the target ID for Script Effects, but this '''does not''' work for the player. The following will not work:
  if GetIsID player == 1
    message "Script Effect is on Player"
  endif
Use the following instead:
  ref self
  set self to GetSelf
  if (self.GetIsReference player == 1)
    message "Script Effect is on Player"
  endif


[[Category: Functions]]
[[Category: Functions]]
Anonymous user