Commit graph

6 commits

Author SHA1 Message Date
AzaezelX b160017c7d aitriggers a navtool. not ready for general consumption just yet 2020-09-04 19:34:17 -05:00
AzaezelX 91ff953c19 new trigger features: triponce, tripcondition, and trippedby.
once fires off callbacks one time,
condition lets you plug in an a==b, or method that returns a true/false;
 trippedby lets us plug in things like $TypeMasks::PlayerObjectType ( ac39577543/Engine/source/T3D/gameFunctions.cpp (L658) ) so that *only* players can trigger it
2020-09-04 19:29:50 -05:00
AzaezelX b8c3b515f8 from @practicing01: trigger mounting 2020-07-10 15:50:25 -05:00
AzaezelX 8ecb474a67 fixes for trigger onenter/onleave
1- corrects onleavetrigger for deletions
2-adds a testObjects to trip onenter when creating or moving a trigger itself so that that will list objects already there as opposed to only going off when something moves into it
2020-06-13 12:12:52 -05:00
Daniel Buckmaster a1740e8a9c Made Trigger friendlier towards inheritance.
Specifically:
 * Made update bits constants protected so that derived classes can
   use them - especially NextFreeMask! IIRC, most classes make these
   constants public, though there's no real reason to.
 * Made potentialEnterObject virtual so that derived classes can
   substitute their own logic.
2012-11-18 21:32:51 +11:00
DavidWyand-GG 7dbfe6994d Engine directory for ticket #1 2012-09-19 11:15:01 -04:00