Thread: Explosions
View Single Post
  #11  
Old 11-03-2001, 03:32 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
Quote:
Originally posted by robodude1
can some one give me an example ?????
Heres a never ending one for a reg npc
up and down
if (playerenters) {
set blah;
}
while (blah) {
dir = 0;
spyfire 1,1;
sleep 0.1;
}
left and right
if (playerenters) {
set blah;
}
while (blah) {
dir = 0;
spyfire 1,1;
sleep 0.1;
}

Playertouchsme one
up and down
if (playertouchsme) {
dir = 0;
spyfire 1,1;
}
left and right
if (playertouchsme) {
dir = 1;
spyfire 1,1;
}
Reply With Quote