ID:178263
Jun 3 2002, 3:16 pm
|
|
i know it's been done, but i want to know if an arrow misses, lets say a guy at range 12, and my arrow has a range of 24, so how do i make it check to see if it hit the guy, and not interrupt it's flight pattern, and then make it keep flying out to it's full range, even hitting anyone else in it's path? On top of that lets say it encounters a object with a density of 1, lets say I want it to smack into that object and stop. Thanks!
|
Copyright © 2024 BYOND Software.
All rights reserved.
Since mobs already have a density of 1, this is inconsistent with what you said about the arrow going through mobs.
What you're going to have to do here is make a custom movement proc for the arrow in flight, and not rely on walk() and Bump() as some do.
When you spawn the arrow, spawn it at your own location (it will immediately travel outward) like this:
I hope that helps.
Lummox JR