Difference between revisions of "User talk:Shadlington"

From King Arthur's Gold Wiki
Jump to: navigation, search
Line 18: Line 18:
  
 
[[Global_Properties]] - document keys
 
[[Global_Properties]] - document keys
 
[[CSecurity::ban]] - all wrong, still using text from banPlayer
 
  
  

Revision as of 13:59, 8 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?

getFontHeight, getScreenHeight, getScreenWidth, isPlayerListShowing, DrawRulesFont, SetHelpText - Improve docs

Global_Properties - document keys


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