Hello everyone. I am almost finished with the sp map, the airport. I need help with 2 more problems before the beta is ready.
I told a soldier to mount a mg on a halftrack. He’s at the mg, but looks down at the ground, and isn’t mounted on it. I connected the soldier and mg in the editor like I’m supposed to.
On the mg, the box “high” is checked.
damage 10
spawnflags 1
origin -216 1656 104
classname misc_mg42
targetname t2
The second problem is the player being able to leave the map without completing the objective. Here is the ai_trigger for the exit:
target endmap
wait 1
ainame player
classname ai_trigger
Here’s the sections of the script that mention the objective.
player
{
spawn
{
objectivesneeded 1
abort_if_loadgame
}
And the section where the objective is met…
pilot1
{
attributes
{
aim_accuracy 1.0
starting_health 60
}
trigger wake
{
sight
runtomarker pmark nostop
giveweapon weapon_thompson
setammo ammo_45cal 999
selectweapon weapon_thompson
followcast player
objectivemet 1
mu_fade 0 100
mu_queue sound/music/m_assault
alertentity blackguard2
alertentity blackguard3
alertentity blackgurad4
alertentity blackguard5
}
I need help with these two last problems. Thanks in advance.