Thread: Bomb Movement
View Single Post
  #1  
Old 02-15-2003, 09:40 PM
PrinceDark PrinceDark is offline
Criminal X
PrinceDark's Avatar
Join Date: Feb 2003
Location: Miami, Florida
Posts: 662
PrinceDark will become famous soon enough
Question Bomb Movement

Ok I tried this offline.
NPC Code:

if(playerenters||timeout){
for(i=0;i<bombscount;i++{
bombs[i].y+=.4;
}
timeout=.1;
}



It didn't work for me. I was attempting to make a quest where if the player lays a bomb it would begin moving in a certain direction, and I did that above script to test to see if it was possible to actually do this. It didn't work for me. So I then went into the newfeatures2001.txt and it said all those types of variables for bombs[], arrows[], npcs[], etc were all read-only.

Is there any other possible methods of moving a bomb placed by the player or am I missing something that I should add on to this script?
__________________
- Criminal X: certified nut case
Reply With Quote