My two objectives are tanks. So for each objective, ive created 2 tank models, one built, one destroyed, and 2 sets of clip brushes for each tank, one to go with each stage of the tank, and labeled as such. I have named the non-damaged tanks (the one that appears at game start) northtank and southtank respectively. I have also named the portion of my script that determines the status of the tanks northank and southtank respectively. Here is the code for my northtank script:
// North Tank
northtank
{
spawn
{
wait 200
constructible_class 3
trigger northtank setup
}
trigger setup
{
setstate northtank_smoke invisible
setstate northtank_destroyed invisible
setstate northtank_destroyed invisible
setstate northtank default
}
death
{
setstate northtank_smoke default
setstate northtank_destroyed default
setstate northtank_destroyed default
setstate northtank invisible
wm_announce "Allies have destroyed the North Tank!"
wm_objective_status 1 0 2
wm_objective_status 1 1 1
wm_set_main_objective 2 0
wm_set_main_objective 2 1
trigger game_manager tankcounter
trigger end_boom_north northtank_destroyed
}
}
Now when i try to load the map in ET, it tells me: unknown event, line 173: northtank - or something very similar to it.
Is there something wrong with my script? Is there something wrong with my entities?
I will PAY someone to script this damn map for me! And i mean it.
This is very frustrating to me - im extremely inexperienced with coding, scripting, etc… hell, i can barely write html
My map has been sitting in a near-finished state on my hd for the longest time. Im determined to finish it, but every time i think im close, i get errors, or problems.
:banghead: :banghead:
Anyway, thanks in advance for any help you can give me.

