Full Version : Xml Aritmetics
xmlspawner >>Q&A >>Xml Aritmetics


<< Prev | Next >>

Xerocrates- 11-24-2007
Hi,


My porblem is This:


For make a count by Xmlvalue i'm using the Inc and the Mul command...


Ok...


So:
INC,+2 Add
INC,-2 Sub
MUL,+2 Multiple
MUL,-2 Negative multiple


And for the : ?

(i don't know the english name for "divisione" sorry... 10:5=2)


Tnx for Any Answer

Xerocrates- 11-26-2007
Someone? Anyone?


ç_ç Help ç_ç

ArteGordon- 11-26-2007
you have to use the MUL keyword to do that, like MUL,0.5 to divide by 2.

Xerocrates- 11-26-2007
Hum.... It Doesn't Work...

Depends -1
Id: 10

Action: SETONTRIGMOB/ATTACH/XmlValue,Tiro Dadi,10;SETONTRIGMOB/ATTACHMENT,Xmlvalue,Tiro Dadi,value/MUL,0.5


Depends 10
Id:20

Text: {GETONTRIGMOB,[ATTACHMENT,Xmlvalue,Tiro dadi,value]}


It Says "50"



I have The Xml for RunUo 1.0 could be this the problem?


Xerocrates- 11-27-2007
Dha! Founded!

I use .NET Italian, here use the "," for "."


Tnx for the help, now i see if that's work...