![]() |
#1
|
|||
|
|||
![]()
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. |
#2
|
|||
|
|||
![]()
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 } } } |
#3
|
|||
|
|||
![]()
Schaut da noch jemand rein...?
Cheerz buddy, gonna give it a try! |
#4
|
||||
|
||||
![]()
ja jemand schaut rein.Doch programmierung ist ein schwerer bereich, die wahrscheinlich nur deutschen interessiert (deshalh schreibe ich auf deutsch)
![]() ![]() ![]() |
#5
|
||||
|
||||
![]()
scripting ist eng verbunden mit Mission bauen, darum ist das Forum hier sehr wichtig!
|
#6
|
|||
|
|||
![]()
Besonders meine PN - Box
![]() |
#7
|
||||
|
||||
![]()
Ja Kodiak was wäre ich ohne deine PN Box
![]() |
#8
|
|||
|
|||
![]()
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. |
![]() |
|
|