share/hedgewars/Data/Scripts/Params.lua
author nemo
Mon, 25 May 2015 16:40:04 -0400
changeset 10961 b30f29396f0c
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Also preview waypoints

-- Library for parameters handling

params = {}

function parseParams()
    if ScriptParam ~= nil then
        for k, v in string.gmatch(ScriptParam, "(%w+)=([^,]+)") do
            params[k] = v
        end
    end
end