20 MxLong diff = time - g_lastHitActorTime;
22 if (strcmp(p_actor->GetROI()->GetName(),
"pepper")) {
26 g_lastHitActorTime = time;
[AI] An actor that extends LegoPathActor with special collision logic for "Act2Gen" scene logic.
LegoCacheSound * Play(const char *p_key, const char *p_name, MxBool p_looping)
[AI] Plays a sound identified by key, with the given playback name and looping flag.
[AI] An actor that moves along a predefined path, supporting boundary transitions,...
LegoCacheSoundManager * GetCacheSoundManager()
[AI] Returns the cache sound manager used to cache and reuse sound effects.
MxLong GetTime()
Returns the current timer value in ms, depending on running state.
#define DECOMP_SIZE_ASSERT(T, S)
#define NULL
[AI] Null pointer value (C/C++ semantics).
#define SUCCESS
[AI] Used to indicate a successful operation in result codes.
LegoSoundManager * SoundManager()
[AI] Accessor for the game's LegoSoundManager subsystem from the global LegoOmni instance....
MxTimer * Timer()
[AI] Returns the global simulation timer.