Skip to content

IGrabable

Samuel Arminana edited this page Mar 20, 2017 · 2 revisions

#IGrabable

The IGrabable interface is used for flags.

Get Team

Team.Type GetTeam()

Returns the team the object belongs to.

Get Location

Vector3 GetLocation()

Returns the current world position of the object.

Grabbed

bool Grabbed()

Returns whether or not the flag is currently grabbed by an agent.

Set Grabbed (Prohibited)

void SetGrabbed(bool grabbed)

Set the grabbed value of the object.

Get Transform

Transform GetTransform()

Returns the transform of the object. Its use may be prohibited depending on its use, please refer to the rules.

Clone this wiki locally