ModifyPlayerPoints
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | ModifyPlayerPoints | |
| Function Description: | ||
| File Location: | cmm.pointsFunctions.lua | |
| Syntax: | CMM.ModifyPlayerPoints( table argTable ) | |
| Return Value: | boolean,number,string or nil | |
| Parameters: | Name | Description |
| argTable | ArgTable = {Unit, UCID, Points, Note | |
| Example: | CMM.ModifyPlayerPoints({[1] = Unit.getByName("PlayerUnit"), [2] = "PlayerUCID", [3] = -1000, [4] = "Spent on a new plane!"}) | |
| Example Description: | Saves the ServerPoints out to <CMM.PDIR>\POINTS\PlayerServerPoints.json | |
| Related Functions: | ||
| Notes: | ||
}