Quote:
It's really hard to say anything. Looks like some tables are involved too. IMO If it works in SW2 you should start modifying there until you understand every part of the script.
|
I do not have SW2 installed.
I understand every part of the script, the Table is the randomcontacts list, which is stored in Randomcontacts.script and used multiple times in the function I modified (Check it out for yourself, look at the trigger_generator_Action function)
I inserted the code between
local flight = currentFunction(groupName, "randomformation_"..__formation_number, currentContact[3][portalStartIndex]:GetEntryPoint(10), strength, currentContact[3][portalStartIndex]:GetOrientation());
- This spawns the random contact.
and
__formation_number = __formation_number + 1;
- This adds 1 to the formation number (Each spawned random conctact will be named like Flight_Randomformation_1, Flight_Randomformation_2, etc. etc. etc.)
No reason why it should not work. None.