2016-03-12 02:54:03 -05:00
|
|
|
--[[
|
|
|
|
|
|
|
|
BonusPointCommand Script
|
|
|
|
|
|
|
|
Functions:
|
|
|
|
|
|
|
|
operateUI(pointsAvailable, pointsLimit, str, vit, dex, int, min, pie)
|
|
|
|
|
|
|
|
--]]
|
|
|
|
|
2016-06-19 18:52:34 -04:00
|
|
|
require ("global")
|
|
|
|
|
2016-03-20 21:19:40 -04:00
|
|
|
function onEventStarted(player, actor, triggerName)
|
2016-06-15 03:41:23 +01: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);
|
2016-06-19 18:52:34 -04:00
|
|
|
result = callClientFunction(player, "delegateCommand", actor, "operateUI", 100, 100, 10, 10, 10, 10, 10, 10);
|
2016-03-12 02:54:03 -05:00
|
|
|
|
2016-06-19 18:52:34 -04:00
|
|
|
--Do Save
|
|
|
|
if (result == true) then
|
|
|
|
end
|
2016-03-12 02:54:03 -05:00
|
|
|
|
2016-06-19 18:52:34 -04:00
|
|
|
player:endEvent();
|
2016-03-12 02:54:03 -05:00
|
|
|
end
|