Posts
1,864
Respect
330Add +1
Forum Rank
Zombie Destroyer
Primary Group
Community Mapper
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!Aye mate you don't know me so y don't you shut tf up ok buddy
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Box Mappers Elite | |
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
You can do that.
This method is called recursive functions: http://pages.cs.wisc.edu/~calvin/cs110/RECURSION.html
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
DO NOT REMOVE IT.
That is the issue. Its a bad recursive call because of Treyarch's shitty logic. The function knows that the spawner is being targeted by something but it isn't a blocker so it does a recursive call, which then repeats again and again until it causes a runtime error.
Script instance 1(first call):
Spawner is targeted by something, not a debris, run logic again(recursive call)
Script instance 2:
Spawner is targeted by something, not a debris, run logic again(recursive call)
Script instance 3:
Spawner is targeted by something, not a debris, run logic again(recursive call)
Script instance 4:
Spawner is targeted by something, not a debris, run logic again(recursive call)
etc. Its a never ending spiral of shitty logic by Treyarch.
The function is not called on the same entity every time. The first call is on the entity; the second, on one of the entity targeters; the third, on one of the targeters' targerters; etc.
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Box Mappers Elite | |
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
Nope. The targetname, how the function gets the array of entities, of the ent would be the same, so its actually getting the same array of entities every time.