Quantcast
Channel: Civilization Fanatics' Forums
Viewing all articles
Browse latest Browse all 12856

[BTS] Creating a semi-permanent effect

$
0
0
Hello!

For my mod I want to include storms. I have already set up the code to create storms and to manage their effects, but I need to know how to keep the visual effect of the storm going through the duration.

I am currently using the tsunami effect from gods of old (the clouds one not the coast one) and calling it with:

Code:

DLL->getEngineIFace()->TriggerEffect((EffectTypes) GC.getInfoTypeForString("EFFECT_STORM"), pPlot->getPoint());
but this code only spawns the effect for as long as the effect lasts... I need it to last until the storm ends (which could be in several turns).

Any ideas?

Thanks,
Jamie

Viewing all articles
Browse latest Browse all 12856

Trending Articles