ProgressionEvents: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Luca (talk | contribs)
spam
m Reverted edits by Luca (Talk) to last revision by Ethryn
Line 1: Line 1:
spam
==TraitChangeOp==
Used to create a change in character traits.
This is used to change a character's appearance live in game.
It takes the trait ID number and sends a broadcast out to all the players in range about the change.
 
 
  <trait value="#"/>
  value = "#" index id key into traits table
Examples:
You apply trait 100 (grey hair) to actor and send message:
  <trait value="100" /><msg aim="actor" text="You drop the liquid on your hair."/>
 
 
 
==ExperienceOp==
Adjust the experience of the target.
 
Syntax:
  <exp type="allocate_last" value="#"/>
 
'''allocate_type''' = "allocate_last" means allocate damage last otherwise damage is allocated
 
'''value''' = "#" amount of experience to give single player or share with others
 
[[Category:Engine documents]]

Revision as of 23:24, 10 December 2010

TraitChangeOp

Used to create a change in character traits. This is used to change a character's appearance live in game. It takes the trait ID number and sends a broadcast out to all the players in range about the change.


 <trait value="#"/>
 value = "#" index id key into traits table

Examples: You apply trait 100 (grey hair) to actor and send message:

 <trait value="100" /><msg aim="actor" text="You drop the liquid on your hair."/>


ExperienceOp

Adjust the experience of the target.

Syntax:

 <exp type="allocate_last" value="#"/>

allocate_type = "allocate_last" means allocate damage last otherwise damage is allocated

value = "#" amount of experience to give single player or share with others