Difference between revisions of "User talk:Shadlington"

From King Arthur's Gold Wiki
Jump to: navigation, search
Line 15: Line 15:
 
[[GetBlobCacheIndex]] - why would you ever need this in a script?
 
[[GetBlobCacheIndex]] - why would you ever need this in a script?
  
[[FontHeight]], [[ScreenHeight]], [[ScreenWidth]], [[IsPlayerListShowing]], [[DrawRulesFont]], [[SetHelpText]] - Rename/improve docs for new shit from Geti
+
[[FontHeight]], [[ScreenHeight]], [[ScreenWidth]], [[IsPlayerListShowing]], [[DrawRulesFont]], [[SetHelpText]] - Improve docs
  
  
 +
 +
[[CSecurity::ban]] - all wrong, still using text from banPlayer
  
  

Revision as of 21:52, 6 September 2012

Pages to revisit:

GetBlob & GetPlayingBlob & GetBlobByName & GetPlayingBlobsSize & GetBlobSize - No examples, possibly untested.

CreateGridMenu - What exactly is a Grid Menu?

MakeCoin - What is the significance of the coin style? No example - untested?

MakeAnimatedParticle - Double check argument meanings are right... Especially angle.

HasRequirements - Don't really get how its meant to work. Why does it look at 2 inventories (inventory one just uses 1 - what instances would require two? Seems like AddWorkshopTasksButtons in workshoptasks.as calls it with the inventory of the workshop and the inventory of the player), why does it always add requirements/return false if its not a blob type?

CInventory::canPutItem & CInventory::putInItem & CInventory::RemoveItems & CInventory::isInInventory & CInventory::MoveInventoryTo - No examples, possibly untested.

GetBlobCacheIndex - why would you ever need this in a script?

FontHeight, ScreenHeight, ScreenWidth, IsPlayerListShowing, DrawRulesFont, SetHelpText - Improve docs


CSecurity::ban - all wrong, still using text from banPlayer


Server only:

Creating its own objects

Attaching objects

Killing objects

Decreasing object health

Map things like creating/destroying blocks


Client only:

rendering stuff like GUI and cursors


Both simulate everything, server just has the authority to override client stuff