Jump to content

Home

Collision Checks


Dom_152

Recommended Posts

I looked but there doesn't seem to be anything. I looked for references for TEAM_SPECTATOR. Maybe I'm just not looking hard enough.

EDIT: Yay I found it. I looked for PM_SPECTATOR and it's done like this:

 

pm.tracemask = MASK_PLAYERSOLID & ~CONTENTS_BODY; // spectators can fly through bodies

 

Now I gotta see if I can work out how to make it so that certain players can go through some peoples bodies but not others. Also make people invisible... like mind trick.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...