mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Consolidated server data and automatically place them in approporate directories post build
This commit is contained in:
		
							
								
								
									
										23
									
								
								data/scripts/commands/BonusPointCommand.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								data/scripts/commands/BonusPointCommand.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| --[[ | ||||
|  | ||||
| BonusPointCommand Script | ||||
|  | ||||
| Functions: | ||||
|  | ||||
| operateUI(pointsAvailable, pointsLimit, str, vit, dex, int, min, pie) | ||||
|  | ||||
| --]] | ||||
|  | ||||
| function onEventStarted(player, actor, triggerName) | ||||
| 	--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 | ||||
		Reference in New Issue
	
	Block a user