- This topic has 39 replies, 2 voices, and was last updated 1 year, 7 months ago by  c4cc. c4cc.
- 
		AuthorPosts
- 
		
			
				
2024-03-10 at 3:26 am #71458 c4ccCustomer2024-03-10 at 8:14 am #71459 c4ccCustomer2024-03-10 at 8:14 am #71459kdv ParticipantUse debugging. See the console log. Puzzles and JS coding. Fast and expensive. If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all. 2024-03-12 at 2:17 am #71529 c4ccCustomer2024-03-12 at 8:31 am #71533 c4ccCustomer2024-03-12 at 8:31 am #71533kdv ParticipantYour stats dictionary is empty. You did some mistake when creating a list of clones. Debug every step. Puzzles and JS coding. Fast and expensive. If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all. 2024-03-13 at 7:04 am #71547 c4ccCustomer2024-03-13 at 7:08 am #71548 c4ccCustomer2024-03-13 at 7:08 am #71548 c4ccCustomer c4ccCustomerShould work exactly like here https://v3d.net/trh Here you didn’t define the original enemy (as dicts)? Yet yours could still work FPS trialproduct 20.9.25 https://postimg.cc/gallery/LMM5vkQ/af43346e 2024-03-13 at 7:39 am #71549kdv Participantyou didn’t define the original enemy it’s not a variable to be declared and defined. In you case two variables used in the loop are defined after this loop did its work. 
  Puzzles and JS coding. Fast and expensive. If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all. 2024-03-13 at 8:10 am #71554 c4ccCustomer2024-03-13 at 9:44 am #71556 c4ccCustomer2024-03-13 at 9:44 am #71556kdv ParticipantI just placed them BEFORE the loop. You placed those variables AFTER the loop. Puzzles and JS coding. Fast and expensive. If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all. 2024-03-13 at 3:30 pm #71565 c4ccCustomer c4ccCustomerI just placed them BEFORE the loop. You placed those variables AFTER the loop. I placed them before the loop too now, yet I can’t get the individual clones to be removed as you did? FPS trialproduct 20.9.25 https://postimg.cc/gallery/LMM5vkQ/af43346e 2024-03-13 at 3:36 pm #71566kdv ParticipantBEFORE the loop!!! Not inside the loop! You absolutly don”t understand what you are doing?  Just forget it. I’m out, I can’t help you. Just forget it. I’m out, I can’t help you.Puzzles and JS coding. Fast and expensive. If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all. 2024-03-13 at 6:37 pm #71569 c4ccCustomer c4ccCustomerSorry for the stupid-ass mistake, I was stressed out just now doing stuff. Finally fixed it, it works now. Thanks for helping me man.   Attachments:FPS trialproduct 20.9.25 https://postimg.cc/gallery/LMM5vkQ/af43346e 2024-03-15 at 9:37 am #71597 c4ccCustomer2024-03-15 at 10:09 am #71599 c4ccCustomer2024-03-15 at 10:09 am #71599kdv ParticipantNo. You just trying to get wrong keys. Puzzles and JS coding. Fast and expensive. If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all. 2024-03-15 at 2:45 pm #71604 c4ccCustomer c4ccCustomerSo if I am to define that “BattleStats” outside the loop to solve that undefined error, you also didn’t define your “params” out of the loop in your example as here: Should work exactly like here https://v3d.net/trh  
 Should work exactly like here https://v3d.net/trhI apologize if my question is stupid, but I don’t know how you managed to insert a dict into a loop without defining it outside the loop. FPS trialproduct 20.9.25 https://postimg.cc/gallery/LMM5vkQ/af43346e 
- 
		AuthorPosts
- You must be logged in to reply to this topic.







