Thread: Waiting...
View Single Post
  #8  
Old 02-04-2002, 11:15 AM
lordhelmut lordhelmut is offline
Registered User
lordhelmut's Avatar
Join Date: Aug 2001
Posts: 710
lordhelmut is on a distinguished road
Send a message via ICQ to lordhelmut Send a message via AIM to lordhelmut Send a message via Yahoo to lordhelmut
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 =/
Reply With Quote