Discuss this page on this page's Talk Page

objCredit

See objCredit at Xelerus

Syntax (objCredit obj amount) → new balance
Arguments obj: The spaceObject that you want to give credits too.
amount: The amount of credits you want to give.
Returns integer: The new balance of the spaceObject you added credits to
Category cash, spaceObject
Description Gives credits to the the obj.

Example

(objCredit gSource 200)

Gives 200 credits from whatever gSource is bound too.

Return to Functions list