![]() |
@Kodiak, I'm looking at the script you posted to nullify multiple spawn events:
Quote:
Hope its no trouble to ask, I'm just learning the ropes here.... cheers Freyah |
You get the triggername via shortName.
So you can check the trigger with a if clause. OnTrigger(..) should look like: Code:
public override void OnTrigger(int missionNumber, string shortName, bool active) |
Thanks for the speedy reply !! I think I'm understanding it better now, will test it out soon! Can I do this over and over in the same script, to get the same effect for other triggers of the same type? eg 109 , Spit , 110 , etc.
|
Yes, simply add an other if clause (in a script you can only use one method, a second OnTrigger would cause an error, so you must modify the existing):
Code:
public override void OnTrigger(int missionNumber, string shortName, bool active) |
Thankyou Kodiak! That works like a charm. Got it to work using this :
Code:
using System; I'm very grateful for your time and for this lesson! I'm in your debt Sir! Now to tackle the Multiple trigger ones..... Cheers, Freyah |
Freyhay, this should give you a head start with multiple grouped trigger objective.
All 3 ships must be destroyed before the objective is complete. Use it for just about anything. Your Triggers are called Ship1, ship2 etc. Code:
|
Thankyou hc_wolf! I will certainly try it out !
|
Just trying 1st mission and wanted to use trigger.
What and where is "script spawn C"? |
Quote:
|
1 Attachment(s)
Alpha
Thanks for reply. As commented in original question I am totally new to FMB in CLOD. I also read post by Kodiak. I cannot see any item menu that is like "script spawn C". I have attached screen shot of what I see. Any help appreciated. Cheers |
All times are GMT. The time now is 03:46 AM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.