ID:150298
 
I need to make my Pbags have infinfate health.I would put them as obj but then the players could pich them up. And I can not make them turf because my coding will not work with that. So I need a proc are var are something for infinate.
They can only be picked up, if you allow them to be. Heres an example


obj/not_picckable
Move() // this is called, when not_picckable is attempting to change location
return 0 // by default, Move() returns 1, if you return 0 it fails

Alathon
FreekerChild wrote:
I need to make my Pbags have infinfate health.I would put them as obj but then the players could pich them up. And I can not make them turf because my coding will not work with that. So I need a proc are var are something for infinate.

Then make it so that whatever Damage() proc you're using doesn't do anything to the pee bags. After all, if you started damaging those things, the spray could get nasty.