VRC triggers (udon)

This is the equivalents of vrchats trigger system.

Triggers

Custom event
image

OnEnable
image

OnDisable
image

OnDestroy
image

OnSpawn
image

OnNetworkReady
image

OnPlayerJoined
image

OnPlayerLeft
image

OnPickupUseUp
image

OnPickupUseDown
image

OnTimer

code

AO1a224bVRT9lWqevatzv0TqQ6EFISSK1MsLqqxz2ac1uOPiCxCFfhkPfBK/wB4nTRzPiTOBODi0ShVpmsSzr2utvc/5648/T5pfwnSFzdEPJ01ZTaffhXf00HwxnaWfmlGzmmR60ihRsyjBF5VBseAh8hShJKWj414Z7+iX388Wk+Vk1jZHJ81vzRH34iEbNcfNEWjnHrIPo6adZXz5zZMFve71qCnT2a9nT40TzrtoC0QZDSjn6GXGGAiC8aCKY9JGekXz+vRDXnVGrz/mw2iH4TYnI5lOUMgDUIYl8Kg5oDDSFh5LzqlvOHDHPlourbjGcmGZ0c5KKJELUBE9uESPKWfUaFEkF4ZY/hyX41dhPglxiucOZJYkw+IhqBwpLEVBzMxC1J5LUVzyKCuRF/w89EaobQca+osssramIMhcHKhkDXgRFBQhFb0ULUvsd9Zs+dpz4qRZtZPl8bP4I6blq9NKOmkm7WIZ2oTfPGmOuncvlvNJ++bsx83z48US3z18vv7P0YN3izSbTydx9OAVzhfkxCMyuPsaPfhyNV2u5vioxdVyHqajB9+v4nSSvsXjF7OfsH0UrQ06acO9VMic/z1GbgwaykAw5JViBVwpErBkji5rl0Npurjf3Ormw3bCvpzRH4xPvXlOv7mZtgHR3Z02zU0/bZezcRu52O3VF7PZFEN77hZy5kwUEZxXCZQUAnx2AYq2mmmMTvFKOzlr7tirswo7M/92S+yrMF3gzcJmmOMyUw3oGD2okh2FzesOK4qg2vDI886wcVXp4fsVthfzVSVqVcwTiMFJFUBqTWyjgoQYBXWyJZwNKfpScGe4roC8IdXbh7xBCHzgsJhzSJITIqYkiFxF4BASZtDSyOKdljnhrcFiNaclaZ6zMxQ2HkBZCnvgjAPnqGJyBrMsFUDkRp33QMfJ/aQO6a37x2N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pjKxjdgWYfMbs6Xuo7XEu6pOb3n2ZGxSo1ZaH5CCFbLtzzgiBRC2ZoJWPXrrg8LALdEtobEV30MaugsbefN6SbSB6tyL7n9H5odrVr/CX3Wc8bd9MWnxBeSDAeUPCI+N0GbrnK3BlSGfXKl9e3CRh11zE+0e31AZegds+xrwYj4To4113QjkAR/skMojPDlxu3empRFXzDqGbWq253Tc27pXoHZaFm7HXICG9k70+T8ln7HWIBzyfxJD89Bdsl+OX7zONchfnzoWUPgsZMpU3KOQIERHBJJmCLJlh9fBSXhzrrLHjmisDA+5zX0dhp9Y/a5+2l6+oURsKmkvAhpJBWepOzyP1PpMZQ9aJpsu+/Rea3bDrLjwMukbft/71h78B

OnEnterTrigger
image

OnExitTrigger
image

OnKeyDown
image

OnKeyUp
image

OnPickup
image

OnDrop
image

OnInteract
image

OnEnterCollider
image

OnExitCollider
image

OnAvatarHit
image

OnOwnershipTransfer
image

14 Likes

I’ll update the collision/ trigger events with layer specifics when layer masks have a proper editor ui.

Actions

AnimationFloat
image

copy&paste

AO2YXW8bRRSG/0o01zvWfH9YykVpGxSBANHWNyiy5uNMWFjvovU6YKX5ZVzwk/gLjO14G+JtWUKCXLWKFdnyen38nHfe8878+fsf1+jKVStA0x+uUVpV1TdukV+gN3XZrV/Wl2UNz+py4bqmncznr6A7qxrX5WfrZQeLV11b1pf7F/lpBfu3Zk0ZUYFW+f8UJQFKGhZxNFRhobjCJsaEBQfmGTWcW5Uv/qVZll3Z1Gh6jX5DU2rIhBRojaZYmAm5KVDdRHhz/mKZq0U2iQTKM8wcy3cK2mKnrMdBBgXB0qCVf0vyXcFo4lNkmDJlsEhCY0OTwVFrGkBRxiXfXuhCYFIxjh2TEotoIzaEWBwsEUQab8DIfOFFgVLV/Hpbx8WuqtkG4nJLcbVB963/CUI326G9RmW97Fwd4PwFmm5+yHIL7vZthG6K//VjF5sP3mn2l9DNZ64tna+g75mAECzkngXlaOZLNXZcMkyEVRoc0Qb0Yc8yWnXbNK4OevYE7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WEwxtcVOWY+DDAqCpUEr/5akqGA08TFnmDJlsIhCY0OjwbnWNICijEueDl5lKJb1X7vwV3dfNt8AabdE+g2Gn/3vELr5HaYbVFRt56oA5y/QbJNfu0Ww+xih2+xht11tbrxXge+hW8xdUzhfwsB0ys86ZIo5ITuoVIgDqE9A4U4Op3fqyE5WbaibsvDZyRyaNiV2lrLYPLKT533Z9Q2cVdB3jSuzk196XxbhB1hf1n9Adea1djJIRS0XQIx9mwuhKJdJVrkGLJIaEgIO2NgkMZMA6cgPae5JvifbAeukmIdYtzB3WhXmkGt273k0SnvC0gxy/azMvqvrElz1uKldNv0xpvXKle1D8zoU+YhpP2sat07OvXGTnfbPq46zxWLk8NAPU2x2zGbU3mZGukFACBZYjoNyNMWkGjsuGSbCKg2OaAN6a93SOyLzSLEkRmLBhcXeE8BW5blWxuQxxOO27k/UYZnq8CNUy+7Ne+UYyCsnaBRcYUqAJYPXFNscYkLlnPSROSHMCHlD1d6JHo7+KYh+1Ic/xmggYQIxKjqGI0uZC+0M9lYaDIFpa0hw3pAREoKYb558z2HcDu6vEKC4TuGO0AW/CnMe3eemdOYn231kR/6y1rlJbX4A89W9YTVlXowNKzEYhRnZibNJVrwdWB8An/bH5xHLsp0gj1sV8nnt+AQZ0WPM6ENZvryGqls879uuXg36jN5yTrXEMmqCBXM59qAkDjp31kgIwo7pUw/LFGac/V+XT+uCI/eCC+j2u8DO0DeIr27/Aw==

AudioTrigger
image

PlayAnimation
image

SetParticlePlaying
image

TeleportPlayer
image

SetGameObjectActive

copy&paste

AO1Y227bRhD9FYPPWmMvszcDfmiuMFqkBZz4pTCEvSpsaTIgKbeG4y/LQz+pv9ClZFN2yKSMbQVKU0gPorTamT1z5szO/P3hr8vs3BTLkB38epnFZVG8MmfpIXsZ2vmJqXNji5DNsmXu05eWU+6MAKQkZQgMWKSNBsQoI9w5wanpFr+rmrzNqzI7uMz+zA4Q02Ifz7KL9JFStY+vZllZ+fDm6FmTzGbZ6SyLRfXH9fPp+teT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Of5RNM5UN0Jnd9nUSIwvLJNgf4rwfSkTqvf9sedNKUZHnczix8bG02Z8A+OO7XjJ4xLHBlFUcuYPOZpWUh3amIT4RjXQI18lLnSlgYbk/z/7GDjAXONKdK7a3ON06t/AA==

SpawnObject

ActivateCustomTrigger
image

DestroyObject
image

SetLayer
image

SetMaterial
image

SetComponentActive

8 Likes

This is just what I was looking for. Super helpful, thanks for this!