MovableObject:SetWhichMOToNotHit

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxSetWhichMOToNotHit( * A pointer to the MO to not be hitting. 0 means don't ignore anyhting.
  • Ownership is not transferred!
  • For how long, in S, to ignore the above. Negative number means forever. )
Description:
Sets this MO to not hit a specific other MO and all its children even though MO hitting is enabled on this MovableObject
ReturnsNone.




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!
Personal tools