NPC Code:
if (actionserverside) {
if (strequals(#p(0),drop)) {
noplayeronwall;
aimx = playerx+.5+vecx(playerdir)*2;
aimy = playery+1.5+vecy(playerdir)*1.75;
if (!onwall2(aimx,aimy,2,2)) {
// Drop stuff goes here
}
}
}
Not detecting anything, maybe it's gscript2's fault :O
And the thing is, gscript2 --> Graal (Reg) = Doesn't work