#thread for the ignorant dumbass.

1 messages · Page 1 of 1 (latest)

zinc ledge
vague pecan
#

nqo calppal cuh wqord tqo malh mqother b

polar beacon
#

im not spending another 20 minutes going over it. respond here when you have an answer

zinc ledge
polar beacon
#

nope

zinc ledge
#

why not?

polar beacon
#

because its not, no other way of saying it

zinc ledge
#

no I meant

polar beacon
#

read back our messages, and think

zinc ledge
#

should I read that?

#

lol

#

okay

#

I will then.

polar beacon
#

sure. you can do that tutorial. it will give you information

zinc ledge
#

This is a lot different.

polar beacon
#

its not

#

ok, lets do this,.

zinc ledge
#

ok

polar beacon
#

what type of list is badguys

zinc ledge
#

if that's possible lol.

#

string

#

?

polar beacon
#

continue with the tutorial.

zinc ledge
#

could you explain what you mean by "type" again?

polar beacon
#

this is core knowledge

#

int is a type

#

float is a type

#

bool is a type

zinc ledge
#

gameobject is a type?

polar beacon
#

string is a type

#

yes

#

GameObject specifically.

zinc ledge
polar beacon
#

yep

#

well, unless its a list of generics

#

in your case, its not

zinc ledge
#

I don't understand lmao.

azure mason
zinc ledge
#

or is the type a string and an int?

polar beacon
#

you're right, BadGuys is a class

zinc ledge
polar beacon
#

but that wasnt my question

zinc ledge
#

what was it then?

polar beacon
#

What type is nearbyNades list

zinc ledge
#

the unity narrator said that the list type of "badguy" is "badguy", which is a class.

#

same for my list.

#

it's also a class.

polar beacon
#

just answer the question

zinc ledge
polar beacon
#

Wrong

zinc ledge
#

collider?

polar beacon
#

Wrong

zinc ledge
#

vector3

#

bruh.

polar beacon
#

Stop guessing

#

and look.

zinc ledge
#

look at what

#

I've looked at everything.

polar beacon
#

apparently not

#

its extremely simple

zinc ledge
#

that's why I said collider and vector3.

polar beacon
#

is this a list?

zinc ledge
#

no

polar beacon
#

then why are you talking about it

#

is this a list?

zinc ledge
#

but I added "grenade" to the list.

polar beacon
#

What type is the list

#

last time im asking

zinc ledge
#

and grenade equals grenadeNearby's component "grenade" (grenadeNearby is a collider)

polar beacon
#

if you're wrong, im done

#

think about it.

#

this is your last chance

zinc ledge
#

I mean if you told me what it is, couldn't I try to figure out why?

polar beacon
#

I already told you what it was

#

30 minutes ago

zinc ledge
#

I mean "Grenade" isn't a type.

#

so it can't be Grenade.

polar beacon
#

is it not?

zinc ledge
polar beacon
#

I'm waiting for your final answer

#

List<type> mylist;

zinc ledge
#

Grenade isn't its type.

#

so that's wrong.

azure mason
zinc ledge
zinc ledge
azure mason
#

we need to know your thought process here

zinc ledge
#

Those are types.

#

Not the assigned variables themselves, right?

azure mason
zinc ledge
#

I thought that was what he meant.

polar beacon
#

how many times can i say, i mean exactly what i say

zinc ledge
#

like vector3

polar beacon
#

i say "look at that horse"
"i thought you meant unicorn"

zinc ledge
#

that's why I didn't say that.

polar beacon
#

see how frustrating that is?

#

ANYWAY fuck ok

zinc ledge
polar beacon
#

shush

#

so, what type is nearbyNades?

zinc ledge
#

Grenade

polar beacon
#

and go to your Destroy line

#

what are you destroying

zinc ledge
#

lol

#

grenade?

polar beacon
#

the type Grenade yes

zinc ledge
#

I meant

polar beacon
#

we should be destroying the gameObject instead

#

do that

zinc ledge
zinc ledge
#

I mean I have rn.

#

but

#

they only explode when they're close to another grenade.

polar beacon
#

What

#

yes we've not finished

#

destroy the objects, not Grenade

zinc ledge
#

I already did.

polar beacon
#

absolutely incorrect

#

Not sure i can go any further. this is silly.

azure mason
zinc ledge
#

objects as in?

zinc ledge
azure mason
zinc ledge
#

gameObject means the game object the script is on.

azure mason
#

if you dont know the basics you cannot do something so complicated

polar beacon
#

you want to destroy the current interations gameobject, not the Grenade Component

zinc ledge
#

transform without anything after, well I don't know.

polar beacon
#

and not this gameobject

azure mason
polar beacon
#

if you dont know, i'll do it for you. But then im done

#

you will have to do the rest on your own

zinc ledge
#

nah

polar beacon
#

Why are you destroying explosion

zinc ledge
#

can't be

#

it's a particle effect lol.

polar beacon
#

look waht the loop is doing

#

think man

#

just think

zinc ledge
#

oh

#

lmaoo

#

yeah it iterates the loop until i is at one (i value starts from the amount of things in the "nearbyNades" list?)

polar beacon
#

Wrong

zinc ledge
#

was I close though?

polar beacon
#

yes

#

just destroy the nades gameobject

#

at i

zinc ledge
#

at i?

#

oh

#

yeah

#

when the loop is done?

polar beacon
#

no

#

you need to do learning on forloops too

#

and everything

zinc ledge
#

well I know how they work.

polar beacon
#

go back to what youy had at the start

#

no you dont

#

clearly

zinc ledge
#

yes

polar beacon
#

you just proved that

#

its just Destroy(nearbyNades[i].gameObject);

#

and now you're on your own

zinc ledge
#
int somtInt = 5;
for (int i = 0; i < five; i++)
{
    Debug.Log(someInt);
}```
#

wouldn't that debug something like

#

5

#

4

#

3

#

2

#

1

azure mason
#

no

zinc ledge
#

?

#

no?

azure mason
#

it starts at 0

#

it goes ++ every loop

zinc ledge
#

so vice versa?

azure mason
#

how can it possibly go from 5 to 0

zinc ledge
#

yeah I realized that now.

azure mason
#

if you had a reverse loop then yes it would do that

zinc ledge
#

so it would do

#

1

#

2

#

3

#

4

#

5

#

?

azure mason
#

yes

zinc ledge
#

yeah I mean I kind of understand for loops.

#

don't I?

azure mason
#

a bit, i guess

zinc ledge
#

except I don't know what ".Count" means.

#

the amount of things in a list?

azure mason
zinc ledge
#

ye

azure mason
#

.Length is the length of an array

zinc ledge
#

yeah

#

holy shit @polar beacon

#

thank you.

#

lol

#

just took like 1 minute.

#

would this work?

polar beacon
#

how about you stick to what you were doing, get it working before experimenting

zinc ledge
#

oh we weren't done?

#

I am sorry then.

#

it seemed like it.

polar beacon
#

at the current rate, very far from it

#

and im no longer helping anymore anyway

zinc ledge
#

so uh

#

what's left to do? I mean what was your plan?

#

verbally

polar beacon
#

destroy all nades, deal damage to whatever is in big radius, else, normal logic

zinc ledge
#

the nades get destroyed right now though.

#

within the range.

polar beacon
#

time for you to figure out how to make it work

#

the basis is there. you just need to finish it

#

feel free to ask other people.

zinc ledge
#

I'll try.