Bump an Object in Developer Help
|
|
Code:
Kunai icon='Kunai.dmi' icon_state="Land" density=1 Quantity=1 weapon=1 Bump(mob/M) src.icon_state="Land" src.Frozen=1 M.Health-=3 Bump(turf/T) src.icon_state="Land" Bump(obj/Weapons/O) if(O.density==1) src.icon_state="Land" src.Frozen=1 O.Frozen=1
|
Problem description:
Whenever that Kunai Bumps into me(i run into it to test) it ffreezes me....i tried fixing it and the only way i could was to delete the O.Frozen=1
...Can someone explain the problem please?Why is my mob considered an obj?
|
1. Are thrown objects supposed to keep going forever until they bump something? Is that intentional? If not, freezing the objects is unnecessary.
The thing I think that is happening is that it's not finding the Bump(mob/M) to be true. The game thinks that you are an object for whatever reason.