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

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > FMB, Mission & Campaign builder Discussions

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 01-17-2012, 06:42 PM
Lookaloft Lookaloft is offline
Approved Member
 
Join Date: Dec 2010
Posts: 38
Default

Hi salmo
Wonderfull scripts for cod-missions this Forum has. Easy to implement in home-made missions, nice to see them perform their specific jobs but not so easy to understand what makes them work. So I decided to enlighten myself a little bit in this respect. I thought I might try to realise this by taking a closer look at a certain script, preferably a relative small one. So I copied your Ship_oil_ fire_effect scrip into Visual Studio Express 2010 as a new project and added the necessary References to it (hereby following Kodiak’s instructions in Tutorial Simple Scripting Lessons I).
After this I ploughed myself through the programme, line for line and sometimes the penny dropped, sometimes it got jammed.
Much appreciated were the various explanations after double slash.
What I failed to understand completely was the line that says:
int i = random.Next(0, 100 + 1);

Perhaps you would be so kind to help me out.
Reply With Quote
 


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 06:07 AM.


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