yair1221 Posted October 23, 2010 Share Posted October 23, 2010 if0ab0: 84then0400: store_coords_to 1@ 2@ 3@ from_object $object with_offset 0.0 5.0 0.00AE1: 4@ = random_actor_near_point 1@ 2@ 3@ in_radius 20.0 find_next 1 pass_deads 1 ifnot 4@ == 0then05BE: AS_actor 4@ dieendend will such thing work, if the actor was created using another thread? it doesnt have a global variable, just local so im trying to transfer the variable to this thread it doesnt work just, nothing happens so im asking if its even possible to do such thing? Link to comment https://gtaforums.com/topic/461629-random-actor/ Share on other sites More sharing options...
Deji Posted October 23, 2010 Share Posted October 23, 2010 A peanut could honestly outsmart you. 1. Indent code or no service. 2. Post ALL of the code. 3. We all hate you. - political correctness. Link to comment https://gtaforums.com/topic/461629-random-actor/#findComment-1060174015 Share on other sites More sharing options...
yair1221 Posted October 23, 2010 Author Share Posted October 23, 2010 never mind the problem was "find_next 1" it should have been 0 edit: 1. WTF? 2. isnt required, that was the important part, and i made a small change, and it was fixed 3. gee, anything new to tell me? Link to comment https://gtaforums.com/topic/461629-random-actor/#findComment-1060174016 Share on other sites More sharing options...
Silent Posted October 23, 2010 Share Posted October 23, 2010 2. Post ALL of the code. 2. isnt required Dontcha know that he's writing Ultra-Complex-Secret-The-Most-Cool-Mod-SA-For-Ever-Even-GTA-IV-Is-Like-Minesweeper-Compared-To-That-Mod Mod? 'you moron', Deji. Some more serious reply: That CLEO4 opcode is used wrongly here. Link to comment https://gtaforums.com/topic/461629-random-actor/#findComment-1060174032 Share on other sites More sharing options...
yair1221 Posted October 23, 2010 Author Share Posted October 23, 2010 0AE1: 4@ = random_actor_near_point 1@ 2@ 3@ in_radius 20.0 find_next 1 pass_deads 1 i know but i used "find next 0" and it work hhh the mod is top secret, you do not have security clearence so please dont look at my signature Link to comment https://gtaforums.com/topic/461629-random-actor/#findComment-1060174044 Share on other sites More sharing options...
BnB Posted October 23, 2010 Share Posted October 23, 2010 You should better check if actor defined instead of not 4@ == 0 Link to comment https://gtaforums.com/topic/461629-random-actor/#findComment-1060174255 Share on other sites More sharing options...
yair1221 Posted October 23, 2010 Author Share Posted October 23, 2010 thanks, im using that one now Link to comment https://gtaforums.com/topic/461629-random-actor/#findComment-1060174274 Share on other sites More sharing options...
Deji Posted October 23, 2010 Share Posted October 23, 2010 And at least remove references afterwards, too. Link to comment https://gtaforums.com/topic/461629-random-actor/#findComment-1060174397 Share on other sites More sharing options...
yair1221 Posted October 23, 2010 Author Share Posted October 23, 2010 oh...well, that is a good thing, in case im gonna try to use it again....thanks Link to comment https://gtaforums.com/topic/461629-random-actor/#findComment-1060174446 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now