> object = CFPython.CreateObject(cointype,(x,y)) <-- creates object > number = CFPython.GetQuantity(object) <-- gets quantity of objects > CFPython.SetQuantity(object, (payoff+number)-1) <-- sets quantity yes, you need the -1 since createobject creates an object with nrof == 1 then it gets merged. Nicolas _______________________________________________ crossfire-devel mailing list crossfire-devel at lists.real-time.com https://mailman.real-time.com/mailman/listinfo/crossfire-devel