Hello
I want to make this npc set a flag when it is moved out of place and then unset it when it is returned back. Some help would be appreciated. What am I doing wrong?
Thanks
PHP Code:
if(created){
canbecarried;
x=40;
y=23.5;
}
if (!x=40 && !y=23.5){
set Carried;
}
if(wasthrown){
x=40;
y=23.5;
unset Carried;