CFC-Servers / cfc_e2_lib

CFC's E2 Lib with helpful functions, sometimes CFC-specific.
GNU General Public License v3.0
2 stars 4 forks source link

This adds in a few suggested functions from the user docs. #39

Closed TechnichalDoge closed 5 years ago

TechnichalDoge commented 5 years ago

Well at the moment, they are only my suggestions, as thats how far i got before i wanted to rebase. It adds in entities() which outputs an array with all entities except for a good few ( world entities and stuff ). It adds in props() which outputs an array with all the "prop_" starting class named entities. it adds in V:reOrder(x,y,z) , xv2:reOrder(x,y) , xv4:reOrder(x,y,z,w) , A:reOrder(pitch,yaw,roll); the reOrder function reorders the values of the inputted vector or angle in the way you set, a few examples following. vec(5,10,20):reOrder(3,1,2)