share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Wed, 20 Apr 2016 20:13:03 +0200
changeset 12034 6ef8e01bd01c
parent 9985 42cd42e44c9a
permissions -rw-r--r--
HedgeEditor: Add missing Left click help texts

-- 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