Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > Star Wolves

Star Wolves 3D space RPG with deep strategy and tactical elements

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 04-19-2010, 10:54 PM
Nanaki Nanaki is offline
Approved Member
 
Join Date: Mar 2010
Posts: 338
Default

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.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:18 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.