Completely Remade Code. There was way to much wrong to list. Hopefully this should be what you want but I don't fully understand the concept of that image so this was basically made off the script I could tell what was happening.
Code Snippet
Plaintext
main() { level.timeToWait = 30; level.floor = 0; Ent = StrTok( "intrig1|outtrig1|intrig2|outtrig2|plat|level1|level2", "|" ); for( i = 0; i < Ent.size; i++ ) Trig[i] GetEnt( Ent[i], "targetname" );
Completely Remade Code. There was way to much wrong to list. Hopefully this should be what you want but I don't fully understand the concept of that image so this was basically made off the script I could tell what was happening.
Code Snippet
Plaintext
main() { level.timeToWait = 30; level.floor = 0; Ent = StrTok( "intrig1|outtrig1|intrig2|outtrig2|plat|level1|level2", "|" ); for( i = 0; i < Ent.size; i++ ) Trig[i] GetEnt( Ent[i], "targetname" );
"Deleted code is debugged code." - Jeff Sickel "Mathematicians stand on each others' shoulders and computer scientists stand on each others' toes." - Richard Hamming