ID:178087
 
How would I make it so if you entered a vehicle the users
They got a new stat. usr.stat+=new/stat("Vehicle Health=[usr.vhp]")like this?
Punkrock546 wrote:
How would I make it so if you entered a vehicle the users
They got a new stat. usr.stat+=new/stat("Vehicle Health=[usr.vhp]")like this?

The stat panel display is handled in the mob.Stat() proc, so what you have to do is set up an if() statement:
mob
Stat()
... // other status lines
if(vehicle)
stat("Vehicle",vehicle)
stat(" Health",vehicle.HP)
stat(" Speed",vehicle.speed)

Lummox JR