What would I need to do? How do I get the ID of self? I'd assume you would check if self.RootID is equal to your own ID.
Edit: Nevermind, found the documentation!
Edit 2: No! D:
It doesn't work. This code, in Update, just says 255 as the ID and the RootID, no matter what circumstances, or how many of the item there are:
Code:
print("ID: "..self.ID .. " Root: "..self.RootID)
if self.ID ~= self.RootID then
self.ParentActor = ToActor(MovableMan:GetMOFromID(self.RootID))
self.FutureTeam = self.ParentActor.Team
end
(I'm trying to find the team of the actor holding the TDExplosive)