Difference between revisions of "Database ARCC EN"
From Ryzom Forge Wiki
Line 30: | Line 30: | ||
|7 race | |7 race | ||
|} | |} | ||
− | + | *'''4)''' Conversion method : (setvalue/addvalue) : there are two modes of insertion into the database, or overwriting the previous contents or by adding another algebraic value. | |
− | *'''4)''' Conversion method : (setvalue/addvalue) : | + | *'''5)''' param : may be different static values recovered from elsewhere or calculated. Those are: |
− | *'''5)''' | + | :*A Blank or an <empty>. In calculation, the "empty" may be equated with "zero." |
− | * | + | :*A Constant: "-1" in "Addvalue" mode creates a decrement. |
− | * | + | :*A common parameter to the event : [param]Max_player_bag[/param] or [session]LocalTemporaryData[/session] |
− | + | :*A value contained in another database : [db=Player_Bag]Last[/db] | |
− | + | :*A function : [func]now[/func] | |
− | :* | + | :*A calculation : |
− | |||
− | * | ||
− | * | ||
− | * | ||
<div style="margin:0em; padding:1em 2em;border: thin inset #{{ColorAtys|type=dark|group=HRP}};background:#{{ColorAtys|type=light|group=HRP}};color:#{{ColorAtys|type=fg|group=HRP}};"> | <div style="margin:0em; padding:1em 2em;border: thin inset #{{ColorAtys|type=dark|group=HRP}};background:#{{ColorAtys|type=light|group=HRP}};color:#{{ColorAtys|type=fg|group=HRP}};"> | ||
<poem> | <poem> |
Revision as of 11:11, 16 September 2014
Database
![]() |
Function name : weADatabase_v2 |
This function is used to store information in a usable local DB thereafter in the same script or another in the same event. It can also increment the numerical values.
It is best to use the assisted edition mode in a first step, as viewed here.