Jump to content
Sign in to follow this  
devildog664

Getting trigger data

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×