heres a vid of what im trying to do. its what ive done so far. i just need to sort the [select] bit out now. which is why i need 2 trigs to remain active and the player can choose from 1 of the 2 & depending on which one they choose depends on whether the script 'proceeds' or returns to start.
Actually, what are you trying to do here, you're psuedo code is not really specific and what do you mean by "lot"?
this is what i mean by "lot" https://imgur.com/4gBsbWw there are 2 weapons and monkeys in the machine. so 3 "lots" of trigs & each "lot" containing 2 trigs. 1 to cycle to next weapon & 1 to select a weapon.
heres a vid of what im trying to do. its what ive done so far. i just need to sort the [select] bit out now. which is why i need 2 trigs to remain active and the player can choose from 1 of the 2 & depending on which one they choose depends on whether the script 'proceeds' or returns to start.
Can I see how you have it setup in Radiant? Also, add me on discord: LilGabe#2429
Last Edit: December 27, 2020, 12:14:21 pm by Jerri13
You need to thread the methods to achieve your goal. you know... self thread Test1(); self thread Test2(); self thread Test3();
Like a crossway where you can task your workers to do stuff for you.
like you mentiond before-
"I don't know which way you want you can loop through an array of triggers and thread it to one method or you can get a few entities like I have here and thread those"
im currently trying out- "you can loop through an array of triggers and thread it to one method".
issue im having is even tho i can choose between 1 or the other trig. in order to get weapon 2 i 1st Have to get weapon1. i can cycle thru the 3 functions with no problem. it just wont let me get access to another other weapon until weapon1 trig has been activated. so even tho i can choose. i still have to also use both trigs to proceed to acquiring weapon2 from func2. i tried endon & notify. which i got it working. (to killt the function i mean by 'working'. not the script). but i need to call on each func at the end so terminating the func is no good here. as both trigs are within a loop and i have a break; outside of both trigs, but inside the loop. i thought that by selecting any trig it would then break out of the loop, therefore forgetting about the other trig and then proceed to func2();. but this isnt the case