Evil coding... in Developer Help
|
|
verb/Get_Out()
set src in view(0)
if(usr.transformed == 1)
if(src.driver == usr)
usr.vehicle = null
usr.invehicle = 0
src.driver = null
walk_rand(usr,2)
sleep(2)
walk(usr,0)
usr.invisibility = 0
sleep(50)
flick("frostexplode",src)
sleep(1)
var/A = src
del(A)
world.Repop()
Yes, it's based off of Hanns' car system. But beside that, it flicks the explosion state as it should, and also deletes the vehicle, but the repop command doesn't repop the car. Can anyone tell me why?
|
However it will also restore everything else. Clearly it is not the way to go here.
I think the solution you need is to create a new instance of the car.
Lummox JR