how i got to fix it?
Posted: Tue Mar 09, 2004 1:43 am
hi all
i wanted to make a vehcile in my multi map that run itself and where i can climb on it to lead me through map but it seems that the truck run but i cant climb on it
first i loaded a vehicle>german>opeltruck
key:targetname value:truck
key:target value:mask
i make a clip texture of the truck and make it script object
key: targetname value:mask ==> to connect the clip at my truck(and i saw a black arrow that connect my mask to my truck)
key:target value:truckpath
ok now i created some waypoint
key:targetname value:truckpath
key:target value:t1
key:targetname value:t1 ==>another waypoint
tkey:target value:t2
etc etc ok so the truck run i tested
i added this script and i added the thread after my level waitill prespawn
starttruck:
$truck nodamage
if ($truck.target)
{
$truck.collisionent=$truck.target
}
iprintlnbold_noloc "Hop in the truck to get to the mountain"
wait 15
$truck drive $truckpath 160 100 40 128
$truck waittill drive
$truck playsound m4l2_truck1
goto starttruck
end
i noticed that my clip was not around the truck (strange) and i cant jump on my truck !
anyone know what i got to do ?????
thank you
i wanted to make a vehcile in my multi map that run itself and where i can climb on it to lead me through map but it seems that the truck run but i cant climb on it
first i loaded a vehicle>german>opeltruck
key:targetname value:truck
key:target value:mask
i make a clip texture of the truck and make it script object
key: targetname value:mask ==> to connect the clip at my truck(and i saw a black arrow that connect my mask to my truck)
key:target value:truckpath
ok now i created some waypoint
key:targetname value:truckpath
key:target value:t1
key:targetname value:t1 ==>another waypoint
tkey:target value:t2
etc etc ok so the truck run i tested
i added this script and i added the thread after my level waitill prespawn
starttruck:
$truck nodamage
if ($truck.target)
{
$truck.collisionent=$truck.target
}
iprintlnbold_noloc "Hop in the truck to get to the mountain"
wait 15
$truck drive $truckpath 160 100 40 128
$truck waittill drive
$truck playsound m4l2_truck1
goto starttruck
end
i noticed that my clip was not around the truck (strange) and i cant jump on my truck !
anyone know what i got to do ?????
thank you