|
This function is good, but could be better. What about allowing us to use a Table for IgnoreDescendentsInstance or mabye allowing us to have an endless amount of IgnoreDescendentsInstance's, like how you can have an endless (Or seemingly endless) amount of parameters in the print function? |
|
dekkonotJoin Date: 2010-12-22 Post Count: 6685 |
Just put all parts you want ignored in a model... |
|
|
Then there becomes the problem of wanting to ignore your player as well as other models... |
|
dekkonotJoin Date: 2010-12-22 Post Count: 6685 |
How about it returns a table of all parts found in 1000 stud distance? |
|
|
Nah... I just think it should allow tables or an endless ammount of parameters, like print. |
|
dekkonotJoin Date: 2010-12-22 Post Count: 6685 |
How about theres a new method instead? like this: workspace:FindPartsOnRayWithTable(ray Ray, table Ignored)
That may be to long of a name but ehh |
|
|
Multiple functions? Nah... I really think they should make it like this:
workspace:FindPartOnRay(Ray ray, Instance ignoreDescendentsInstance1, Instance ignoreDescendentsInstance2, Instance ignoreDescendentsInstance3, Instance ignoreDescendentsInstance4, etc...) |
|
dekkonotJoin Date: 2010-12-22 Post Count: 6685 |
:D More lag for everyone! JK good idea. |
|
|
|
OR
Tuple FindPartOnRay(Ray ray, Instance ...)
On the wiki Prints parameter is '...' |
|
dekkonotJoin Date: 2010-12-22 Post Count: 6685 |
Fine...I support. |
|
|
Yea, instead of doing
if PART.Parent == INSTANCE then
do
for i,v in next,{...} do
if v.Parent == INSTANCE then
Only the C equivelant. |
|
|
|
FindPartOnRay(Ray, Instance[]) or FindPartOnRay(Ray, Instance, ...)? The first one means a table of Instances, just by the way, I don't know how it's really supposed to be done :/
Anyways, support, this'd make a project that I'm working on a LOT easier. And more possible. |
|
|
Its ... I am unsure about []
function ShowNumberOfParameters(...)
print(#{...})
end
ShowNumberOfParameters(1,2,3)
|
|
|
Not what I'm asking >_<
I'm asking if the arguments would be a table of instances or just however many instances you want. I know what the ... things do, I've used them before >_< |
|
|
|
However many instances you want, crazy. That way current scripts wont break. |
|
skunkycatJoin Date: 2010-07-18 Post Count: 5234 |
[ Content Deleted ] |
|
|
|
print("Total Support :D") |
|
|
|
WHEN ARE YOU GONNA GIVE ME AN ACTUAL ANSWER |
|
|
'However many instances you want, crazy. That way current scripts wont break.'
A few [psts ago |
|
|
THAT ISN'T AN ANSWER TO THE QUESTION I ASKED.
WILL IT ACCEPT A TABLE OF INSTANCES, OR JUST AN INFINITE AMOUNT OF ARGUMENTS? |
|