
02-04-2002, 11:15 AM
|
Registered User
|
 |
Join Date: Aug 2001
Posts: 710
|
|
SetFocus
I think there are SetFocus problems...
i did this...
// NPC made by Lord Helmut
if (created) {
x+=.4;
y+=.7;
}
if(playerenters){
timeout=.05;
}
if (playertouchsme&&keydown(6)) {
setfocus 31,28;
disabledefmovement;
playersprite=19;
}
if (timeout&&keydown(5)) {
resetfocus;
enabledefmovement;
timeout=.05;
}
no matter what I try I cant get it to unset the focus and for some reason u have to hold A and run at the NPC for it to setfocus =/ |
|
|