ACF-Team / ACF-3

ACF
MIT License
67 stars 54 forks source link

E2/SF ACF Class function #350

Closed LiddulBOFH closed 1 year ago

LiddulBOFH commented 1 year ago

Adds a function for both E2 and Starfall that allows one to directly grab the class of an ACF entity, for example using this on a TOW missile ammo crate would return ATGM, as opposed to someone needing to explode the name to collect relevant info. This can further aid in getting specifics about an entity without having to dissect the name, which was ridiculous to leave as-is.

Usage: Entity:acfClass() Returns: string Entity.Class (as written by ACF)

LiddulBOFH commented 1 year ago

Did you mean to close this without merging?