CE 5.6.5 Trigger to open a Door

#1
Hi everyone i'm Chris, an indie developer and trying out some basic things with gorgeous Cryengine!
I need some help with a door and a trigger (both custom C++ entities).
So i have a custom entity with StaticMeshComponent (a cube) and IEntityTriggerComponent, let's call it trigger! When i step over this entity i managed to log the event all went good.
What i don't know is how to send this event to another Entity which has a physicalized StaticMeshComponent and move it up(i know how to move the door up!!).
SendEvents function sends the event to the entity from the component. SendEventToAll seems to be promising but how can i declare custom event. Is there any supported way from the engine?
Any help is very much appreciated!
Thank you

Who is online

Users browsing this forum: No registered users and 2 guests

cron