2016-03-12 02:54:03 -05:00
|
|
|
--[[
|
|
|
|
|
|
|
|
BonusPointCommand Script
|
|
|
|
|
|
|
|
Functions:
|
|
|
|
|
|
|
|
operateUI(pointsAvailable, pointsLimit, str, vit, dex, int, min, pie)
|
|
|
|
|
|
|
|
--]]
|
|
|
|
|
2016-03-20 21:19:40 -04:00
|
|
|
function onEventStarted(player, actor, triggerName)
|
2016-03-12 02:54:03 -05:00
|
|
|
--local points = player:getAttributePoints();
|
|
|
|
--player:runEventFunction("delegateCommand", actor, "operateUI", points.available, points.limit, points.inSTR, points.inVIT, points.inDEX, points.inINT, points.inMIN, points.inPIT);
|
|
|
|
player:runEventFunction("delegateCommand", actor, "operateUI", 10, 10, 10, 10, 10, 10, 10, 10);
|
|
|
|
end
|
|
|
|
|
|
|
|
function onEventUpdate(player, actor, step, arg1)
|
|
|
|
|
|
|
|
--Submit
|
|
|
|
|
|
|
|
player:endEvent();
|
|
|
|
|
|
|
|
end
|