Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:00 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.