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

Reply
 
Thread Tools Display Modes
  #1  
Old 03-13-2012, 03:10 PM
Nephris Nephris is offline
Approved Member
 
Join Date: Jun 2008
Posts: 117
Default Loading Submission on ingame trigger

Hi folks,
I am completely new to C#, having expieriences in scripting language of ArmA2 which is at the end sth completely different for me.
However, I read the posted tutorials, but i cant find an example on how to load a submission on an ingame trigger like Tdestroyed and Tpassthrough. And i lack of knowledge to write it myself on known tutorials.

Much appreciated would be a simple example.
Reply With Quote
  #2  
Old 03-13-2012, 03:25 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

Kannst du die Frage nicht im deutschen Forum stellen

Code:
using System;
using System.Collections;
using System.Collections.Generic;
using maddox.game;
using maddox.game.world;

public class Mission : AMission
{
    public override void OnTrigger(int missionNumber, string shortName, bool active)
    {
        base.OnTrigger(missionNumber, shortName, active);


        if("trigger".Equals(shortName))
        {
            GamePlay.gpPostMissionLoad("missions/etc/etc/MissionName.mis");

            GamePlay.gpGetTrigger(shortName).Enable = false; // to avoid second activation if passthru trigger
        }

    }

}
Reply With Quote
  #3  
Old 03-13-2012, 03:59 PM
Nephris Nephris is offline
Approved Member
 
Join Date: Jun 2008
Posts: 117
Default

Schaut da noch jemand rein...?

Cheerz buddy, gonna give it a try!
Reply With Quote
  #4  
Old 03-17-2012, 06:58 PM
U505's Avatar
U505 U505 is offline
Approved Member
 
Join Date: Nov 2010
Location: France
Posts: 189
Default

ja jemand schaut rein.Doch programmierung ist ein schwerer bereich, die wahrscheinlich nur deutschen interessiert (deshalh schreibe ich auf deutsch).
Reply With Quote
  #5  
Old 03-18-2012, 05:48 AM
NSU's Avatar
NSU NSU is offline
Approved Member
 
Join Date: Oct 2007
Location: Heidelberg_Germany
Posts: 251
Default

scripting ist eng verbunden mit Mission bauen, darum ist das Forum hier sehr wichtig!
Reply With Quote
  #6  
Old 03-18-2012, 09:26 AM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

Besonders meine PN - Box
Reply With Quote
  #7  
Old 03-18-2012, 05:39 PM
NSU's Avatar
NSU NSU is offline
Approved Member
 
Join Date: Oct 2007
Location: Heidelberg_Germany
Posts: 251
Default

Quote:
Originally Posted by FG28_Kodiak View Post
Besonders meine PN - Box
Ja Kodiak was wäre ich ohne deine PN Box
Reply With Quote
  #8  
Old 03-19-2012, 05:24 PM
Nephris Nephris is offline
Approved Member
 
Join Date: Jun 2008
Posts: 117
Default

Well what comes around goes around ...
The initial post regarding the sense of a FMB scritping forum was related to the sturmovik.forum ....
But as always....
"Who knows reading is on the inside track"

However, as this is a english reading forum I suggest for courtesy sake, keep on posting in english language, and those who cant remain in the adress i referred before.
Reply With Quote
Reply


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 01:58 PM.


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