View Single Post
  #2  
Old 04-10-2011, 10:33 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
1. You can remove arrows in a level like this:

PHP Code:
for (temp.0temp.arrowscounttemp.i++) {
  echo(
arrows[temp.i].x SPC arrows[temp.i].y);
  
removearrow(temp.i);

Docs (from commands.rtf still relevant):

PHP Code:
arrowscount          the arrows count (arrows balls)
arrows[index].x          an arrows horizontal position
arrows
[index].y          an arrows vertical position
arrows
[index].dx          the horizontal speed per tick (0.05secs)
arrows[index].dy          the vertical speed per tick (0.05secs)
arrows[index].dir          the flying direction (0,1,2,3)
arrows[index].type      the shottype (--> ball0..3 -> arrow with power 1..4)
arrows[index].from      the shooter (-> baddy-> current player
2. Don't think you can track bushes, so that would require something custom and would probably be more work than it's worth.
__________________
Quote:
Reply With Quote