Ok this is simple, but, when you give a item or something random stats like
obj/item/cage
var
Monkeys=rand(1,100000000)
DBZgames=rand(1,1000000000000000)
Brains=rand(-0,-999999999)
OK and say you can buy a cage, and its in your inventory, now if you buy one and someone buys one they should be differt, but if you log out and it saves, when you log in will your cage still have the same variables it had?
ID:179317
Jan 20 2002, 12:16 pm
|
|
In response to Lummox JR
|
|
herm how do i do that?
|
In response to dbz73
|
|
I think you'd do it like this:
obj/item/cage var Monkeys DBZgames Brains New() Monkeys=rand(1,100000000) DBZgames=rand(1,1000000000000000) Brains=rand(-0,-999999999) |
In response to Lord of Water
|
|
it was just an example, the question was, if it would save
|
It's a moot point; that kind of initialization isn't valid. You can only call rand() functions at runtime, so you'd have to initialize the vars in New().
Lummox JR