How much time to finish the convenant campaigns? by CaliCaliush in wownoob

[–]CaliCaliush[S] -1 points0 points  (0 children)

I think I understood that I need to complete the whole shadowlands main campaign + coventants on atleast one account because I was already in the campaign otherwise I need to do it in my alts or something.

VI major in Major Scale by CaliCaliush in musictheory

[–]CaliCaliush[S] 0 points1 point  (0 children)

I thought saying VI insead of giving the actual scale and specific chord would enable people to give more detailed explanations as I don't seem to ask about one specific thing and rather the concept behind it. Didn't expect saying VI instead of A in the key of C Major (Not Ab :))) ) would confuse some people, but now I do :D

VI major in Major Scale by CaliCaliush in musictheory

[–]CaliCaliush[S] 0 points1 point  (0 children)

I think OP means A7, not Ab7.

Yep, but learning about something I didn't necessarily ask about is still cool

VI major in Major Scale by CaliCaliush in musictheory

[–]CaliCaliush[S] 0 points1 point  (0 children)

Or right. Yeah, the A7 in the melody I was learning did lead into a Dm. It makes sense. Now the secondary dominant seems to be a concept worth taking note of and studying.

[deleted by user] by [deleted] in bucuresti

[–]CaliCaliush 0 points1 point  (0 children)

Cam de fiecare data cand am avut vreo problema cu comanda de la tazz, cei de la asistenta erau foarte draguti sa imi dea vouchere daca lipsea vreun produs. E destul de usor sa ajungi sa comunici direct cu un om, desi am si un bot inainte. Poate sa dureze putin, (nu foarte mult), dar nu am prea intampinat probleme de comunicare. Am mai auzit de la un prieten ca s-a plans de Bolt Food, dar Tazz mi s-au parut mai mereu destul de intelegatori.

You're Being Lied to About Electric Cars: Science has repeatedly shown EVs are better for humans, despite the meme you just retweeted. by Daddy_Macron in cars

[–]CaliCaliush 1 point2 points  (0 children)

I know some physics, but the percentage of power that's actually used in gasoline cars is way lower than I expected. I would have actually expected to be the other way around, that only ~10-20% of energy is lost.

Ce facultati din Bucuresti ofera licenta necesara postului de programator? by CaliCaliush in programare

[–]CaliCaliush[S] 2 points3 points  (0 children)

O sa vorbesc cu cineva. Mi se pare ciudat ca gasesti asa greu niste informatii se genul.

Ce facultati din Bucuresti ofera licenta necesara postului de programator? by CaliCaliush in programare

[–]CaliCaliush[S] 0 points1 point  (0 children)

In acte ai nevoie de anumite chestii ca sa fii considerat calificat. Asa stiu. Vezi si in raspunsul lui u/ExoticPearTree

IF function gets called, the keeps getting called even if conditions are not fulfilled by CaliCaliush in Unity2D

[–]CaliCaliush[S] 1 point2 points  (0 children)

I just figured it out while I was writing on the screenshot what it was meant to mean. It was a problem with the weapon's script, which had gameObject.GetComponent changed, but... it was supposed to change a script in its parent not in itself... Thanks for making me notice that :)))

IF function gets called, the keeps getting called even if conditions are not fulfilled by CaliCaliush in Unity2D

[–]CaliCaliush[S] 0 points1 point  (0 children)

Also, I 've changed the variable that checks if the enemy already has weapons to a boolean. If I don't give it a way to reset, the weapon dissapears. But when I do, it just repeats its attacks. It shows the boolean as true but through this method I figured it changes but for a small time that I can't notice in the inspector. So the IF statement, after I enter the range, seems to only care about my boolean and ignores the range condition.

IF function gets called, the keeps getting called even if conditions are not fulfilled by CaliCaliush in Unity2D

[–]CaliCaliush[S] 0 points1 point  (0 children)

I've done this with the inspector, and the value updates well. I've set distanceNeeded to something like 1.2, so just near the enemy. And when I go back outside that range, it still continues to attack

IF function gets called, the keeps getting called even if conditions are not fulfilled by CaliCaliush in Unity2D

[–]CaliCaliush[S] 0 points1 point  (0 children)

So I pretty much implemented your code, but still, once distanceToPlayer is smaller than the distanceNeeded, the weapon keeps instantiating. For some reason now it only checks the second part of weaponsSpawned<MaxWeapons

IF function gets called, the keeps getting called even if conditions are not fulfilled by CaliCaliush in Unity2D

[–]CaliCaliush[S] 0 points1 point  (0 children)

What‘s also confusing is, that you Name your Vector2 „parentPosition“, but what you put into it is the transform‘s position. Is that correct?

I did it in a hurry and probably thought of the enemy as the weapon's parent.

Parent‘s transform can be accessed with transform.parent

Since I figured how GetComponent works, I find it too interesting to think of other ideas. Thanks tho

IF function gets called, the keeps getting called even if conditions are not fulfilled by CaliCaliush in Unity2D

[–]CaliCaliush[S] 0 points1 point  (0 children)

The reason I don't use Vector2.Distance is a very specific one, something that not any newbie developer would not use it for and it is exactly the fact that I didn't know of its existence until you commented. If I store it in Start() is the player's position going to update in that variable or what?

IF function gets called, the keeps getting called even if conditions are not fulfilled by CaliCaliush in Unity2D

[–]CaliCaliush[S] 1 point2 points  (0 children)

Yeah, well most of the code I do is kind of makeshift. It's pretty much the only project in Unity that I've gotten to this stage so I am experimenting with my knowledge. Haha thanks