![]() |
Script help for Storm of War Campaign
Hi,
I need a script to flash a screen message using a trigger, TTime. I tried with onticktime but there was alot of variation in the timings of the messages between different servers. I need it spelled out for me exactly like you would a child. :-P |
Code:
using System; |
Would this be the same for a pass through trigger? Also, I would want the message to be sent to one side only.
For example, I want a group of blue AI bombers that once they pass a certain point a screen message would go for red saying that bombers were inbound. |
Kodiak,
Thanks for your help once again. If I recall there was a piece of script to make this only trigger once, was there not? |
Code:
using System; |
Hi Kodiak, in this part of script:
PHP Code:
PHP Code:
have to be inside "if (shortName.Equals("TPassThruTriggerName"))" ? does it mean that action will be done only for TPassThruTrigger? Also deactivating trigger means to disable theme for good or after they invoked? PHP Code:
|
the action is only activated if the trigger is triggered, you can also place it outside if you like.
Quote:
In my case above the passthru tigger must be activated once. But you can disable a trigger at any time. For example you have two condition one win and one fail. Maybe the win condition is to destroy groundtargets and you use a TGroundDestroy trigger and the fail condition you must make it before the time is over. To avoid the activation of the second trigger you can disable it. Example: Code:
public override void OnTrigger(int missionNumber, string shortName, bool active) |
Gruber, the script that I emailed you had pass through events triggering successfully. Did this not work?
|
All times are GMT. The time now is 10:38 AM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.