Loading...
  OR  Zero-K Name:    Password:   

Post edit history

terraform helper widget

To display differences between versions, select one or more edits in the list using checkboxes and click "diff selected"
Post edit history
Date Editor Before After
7/22/2015 9:58:20 PMRUrankivand before revert after revert
Before After
1 You might want to pace it a bit. Checking if terraform has happened every 1/30 fraction of second is a bit too often. 1 You might want to pace it a bit. Checking if terraform has happened every 1/30 fraction of second is a bit too often.
2 \n 2 \n
3 Also it makes sense to only run widget:GameFrame after you have recieved "terraform complete message": 3 Also it makes sense to only run widget:GameFrame after you have recieved "terraform complete message":
4 \n 4 \n
5 function widget:UnitFinished(unitID, unitDefID, unitTeam) 5 function widget:UnitFinished(unitID, unitDefID, unitTeam)
6 if unitTeam==myTeamId then 6 if unitTeam==myTeamId then
7 if unitDefID==terraunit.id then 7 if unitDefID==terraunit.id then
8 --hey it makes sense to start checking if height is indeed of what I expected (as it takes time for spring to update heightmap) 8 --hey it makes sense to start checking if height is indeed of what I expected (as it takes time for spring to update heightmap)
9 end 9 end
10 end 10 end
11 end 11 end
12 \n 12 \n
13 P.S. Damn it eats code formatting.
14 \n
13 If changes I proposed today pass, the code is going to become even more simple. 15 If changes I proposed today pass, the code is going to become even more simple.
14 \n 16 \n