Wind and such.

Wind and such.

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

Moderator: Moderators

Post Reply
Edible
Posts: 72
Joined: 09 Feb 2008, 01:46

Wind and such.

Post by Edible »

After making a pretty trivial script too tell myself the min/max/avrg wind at the start of the game I have decided too expand it too having a bar ingame of the current wind; the issue is that I cannot actually figure out how too get the current wind.

Cheers for any help guys : )
user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: Wind and such.

Post by user »

it is not hard to draw the bar, just make some Begin Ends varied by the
vector and strength of the wind, and use different colors.

i post more help later.
Edible
Posts: 72
Joined: 09 Feb 2008, 01:46

Re: Wind and such.

Post by Edible »

The bar isnt really the issue, its getting the current wind strength, but thanks anyway
user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: Wind and such.

Post by user »

all the synced functions work in unsynced.

synced can write anything, but should only read synced.
unsynced can read anything, but should only write unsynced.
Post Reply

Return to “Lua Scripts”