Lua Events/OnObjectCollide
< Lua Events(Redirected from Lua Events/OnObjectCollide)
Event
OnObjectCollide
Description
Triggered when a character collides with an object.
Parameters
- IsoGameCharacter The character who's colliding with another object.
- IsoDoor | IsoGridSquare | IsoThumpable | IsoWindow | IsoZombie The object that is being collided with.
Examples
local function OnObjectCollide(character, door,IsoGridSquare,IsoThumpable,IsoWindow,IsoZombie) -- Your code here end Events.OnObjectCollide.Add(OnObjectCollide)