No categories assigned

LUA:Harvest

Revision as of 20:09, 11 September 2013 by Jabantiz (talk | contribs) (Created page with "= LUA Functions: Harvest() = Has the given player harvest the given node ==== Syntax ==== Harvest(param1, param2) ==== Parameters ==== ; Required - ''param1'' (Spawn), ''para...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

LUA Functions: Harvest()

Has the given player harvest the given node


Syntax

Harvest(param1, param2)


Parameters

Required - param1 (Spawn), param2 (Spawn)
param1 is the player doing the harvesting
param2 is the node being harvested


Usage

function cast(Caster, Target)
    Harvest(Caster, Target)
end

When this spell is cast the caster will attempt to harvest the target