Jump to content

Home

"trap" prefix in function name - what does this indicate?


Commodus

Recommended Posts

Not sure exactly, but all that i have seen are always defined as a syscall, which means we can't see the code because its hardcoded (i think). trap_EntitiesInBox or whatever that function is called, takes a min and a max (to define a box), a list of ints (for entities numbers to be stored in), and a maximum number of enitites to find, and then returns the number it found.

Even though you can't see the actuall code of these functions, you can see the parameters they take by going to its definition. That can be helpful in finding out what it might do.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...