03-13-2011, 04:46 AM
Well, if you wanted to add skills to an actor based on their actor ID, you can use:
Where the ID is the id of the actor in the database, and the value is... the value.
So
Would add 50 points to Aluxes's points
[center]* * *[[center]
Or you can add points to an member of your party, like"
Pretty much the same, but the ID represents the index of the party (0 = party leader, 1 = 2nd party member, etc...)
So
Would remove 20 points from Basil's point total.
Code:
$game_actors[id].skillpoints += value
So
Code:
$game_actors[1].skillpoints += 50
[center]* * *[[center]
Or you can add points to an member of your party, like"
Code:
$game_party.actors[id].skillpoints += value
So
Code:
$game_party.actors[1].skillpoints -= 20