mob
Bump(var/mob/M)
if(src.Monster&&src.InSurvival)
M.LoseSurvivalRound("Lost")
I am new to pixel movement and having problem since i cant make this work the bump does not reply anything.
ID:897756
Jul 29 2012, 6:59 am
|
|
mob I am new to pixel movement and having problem since i cant make this work the bump does not reply anything. |
Jul 29 2012, 7:22 am
|
|
Try a debug message to see if Bump is actually being triggered. Also keep in mind that the object in the parentheses is the object that src is failing to move into.
|
i read byond reference on bump and it said
"If the obstacle is a mob and src is in its group, swap their positions. This is only done if the mobs both move by full tiles and do not use pixel movement, to preserve the behavior of older games. " that means pixel movement doesnt work |