adding ownership to obj in Developer Help
|
|
On this example, Would i need to make a owner var for every car.
obj/var/owner
obj/car1 icon = 'car1.dmi' if(owner == usr) usr<<"this is your car" obj/car2 icon = 'car2.dmi' if(owner == usr) usr<<"this is your car" obj/car3 icon = 'car3.dmi' if(owner == usr) usr<<"this is your car" obj/car4 icon = 'car4.dmi' if(owner ==usr) usr<<"this is your car"
|
|
Kylemark wrote:
anyhow I think this basically works might need a tweak or 2.
This doesn't look like it would do much of anything how it is you're if's would have no effect since they're not triggered anywhere. If these are going to be left on the street somewhere or something where anyone could walk up to them in the game you could make the usr var = to the car name.