ID:166683
Jul 3 2006, 5:01 am
|
|
I am haveing a hard time with car codes could someone help?
|
In response to O-matic
|
|
I need a code for cars that allowes you to get in and out of a car.
|
In response to Bobomaster
|
|
Oh, but that isn't hard!
You need an obj, and whenever it's clicked, delete the object, and change the user's icon. Example: obj/car O-matic |
In response to O-matic
|
|
The problem is that people will be changing icons in the game. Is there a way to store thier icon and have the car move?
|
In response to Bobomaster
|
|
Make a temp var and store their icon in it, then when they get-out, set their icon to that temp var.
|
In response to O-matic
|
|
Bad way to do it. You might as well allow the player to enter the car's contents. That way, more than one people can enter the car if they want.
In order to do this, you have to send the player to the car's contents by setting the player's loc to the car by using Move(). We use Move() because you can disallow certain people or a certain amount of people inside the car's Enter() proc. The car's controls will be taken care of in client/Move(). client/Move(newloc, direc) ~~> Unknown Person |
In response to Unknown Person
|
|
The things you all learn on these forums... Thanks for the correction.
O-matic |
O-matic