Getting Tide Infos

Getting Tide Infos

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
[Krogoth86]
Posts: 1176
Joined: 23 Aug 2007, 19:46

Getting Tide Infos

Post by [Krogoth86] »

Hi!

Is there a command like "Spring.GetWind" which does the same but gives me the tidal strength a map has? If yes, how to apply it to a variable (as the way it's done in the CA windmill script is rather "complex" while for tidals I'd expect just to have a digit from this call)?
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: Getting Tide Infos

Post by KDR_11k »

Constant Game.tidal

Look in the Wiki next time, map settings are often in ConstGame.
[Krogoth86]
Posts: 1176
Joined: 23 Aug 2007, 19:46

Re: Getting Tide Infos

Post by [Krogoth86] »

Thanks - kinda missed that...
User avatar
Noruas
XTA Developer
Posts: 1269
Joined: 24 Feb 2005, 02:58

Re: Getting Tide Infos

Post by Noruas »

I cant find EnergyUse in Lua, for solar collectors.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: Getting Tide Infos

Post by KDR_11k »

energyUpkeep would be my guess.
User avatar
Noruas
XTA Developer
Posts: 1269
Joined: 24 Feb 2005, 02:58

Re: Getting Tide Infos

Post by Noruas »

I tried it with energy multiplier with xta, and energyupkeep seems not to be energyuse.
Post Reply

Return to “Lua Scripts”