en:Database
fr:Database
 
UnderConstruction.png
Translation to review
Don't blame the contributors, but come and help them 😎

Reference text ( Maintained text, used as reference ) :
Notes: (Zorroargh, 2018-06-22)

Database

Database add value.png 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.

WeADatabase window
  • 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 :

[func=min]
  [math]
    ([func]now[/func]
    -
    [db=Bags]
      Status:[get]bag[/get]
    [/db])
  [/math]
..|12
[/func]

←ARK Guide EN There are currently 34 elements in the category ARK.


Portal of the Forge of Ryzom Portal of the Forge of Ryzom
Retrieved from "https://en.wiki.ryzom.com/w/index.php?title=ARK/Database&oldid=26673"