Jump to content

Recommended Posts

I need help getting a triggers Box Mins and Box Maxs values in my script. I am able to get the sphere size with this
 

SCR_BaseTriggerEntity trigger = SCR_BaseTriggerEntity.Cast(GetGame().GetWorld().FindEntityByName(TriggerName));
if (trigger)
{
	Marker_Radius = trigger.GetSphereRadius();
};

 

But I cant figure out how to get the box values along with any other data from the trigger. I cannot find any other functions like GetSphereRadius but for the box values. If anyone can point me in the right direction that would be great.

Share this post


Link to post
Share on other sites

I know this is a bit of a blast from the past, and maybe even done differently by now, but have you figured this out?
I too am trying to gather data from triggers and just can't seem to figure it out. I'm trying to trigger an event after x amount of triggers have activated.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×