When I dismount vehicle I pop right back into car
by Jeffrey J. Sykes, "SYKO_RIP" · in Torque Game Engine · 12/10/2003 (3:39 pm) · 3 replies
Question: When I dismount vehicle, I pop right back into car. After 4 or 5 times then I can get out. Is their a value somewhere I can change so I can delay my return to the vehicle?
TY 4 your time,
OUT
TY 4 your time,
OUT
#3
%obj.mountVehicle = true;
%obj.schedule(4000, "mountVehicles", true);
should be:
%obj.mountVehicle = false;
%obj.schedule(4000, "mountVehicles", true);
Thanks for the help! You got me going in the right direction.
SYKO_RIP_OUT
12/11/2003 (12:52 pm)
Actually the code was fine on my version, but I found I did this:%obj.mountVehicle = true;
%obj.schedule(4000, "mountVehicles", true);
should be:
%obj.mountVehicle = false;
%obj.schedule(4000, "mountVehicles", true);
Thanks for the help! You got me going in the right direction.
SYKO_RIP_OUT
Torque Owner Badguy
but in the player.cs
find line 756:
see the schedule? it's calling setMountVehicle for this object.... well analyzing further down the file line 921
we will locate a function named :
fix this problem by repairing this typo.