Talk:GetIsID

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

"GetIsID mycuirass" and "GetIsID mycuirass == 1" do the same. Both return 1 when the ID is mycuirass.


Using player as the parameter of this function in a script causes an "invalid reference" error when saving. Quest and dialog conditions using player as the parameter work fine, so I'm guessing this is a compiler error. Frustrating, though. The workaround I use is to instead check if ( getSelf == player ). Scruggs 23:57, 29 May 2006 (EDT)

While there is an object with the ID "Player" there is also the hard-coded reference. Scripts always access the reference, not the object.--JOG 09:50, 30 May 2006 (EDT)

Is there a way to get a generic ID from a reference? Something similar to GetSelf but that returns a base id?

GetBaseObject
--Haama 16:26, 18 April 2009 (EDT)
Thanx.