oops, sorry, i forgot you're newish.
ok, anytime you see a "level." (without quotes) it's a variable, which is something that holds information, numbers, letters, etc.
the spawn command is pretty self-explanitory, it creates an entity. which is anything that can be manipulated in any way.
with the spawn command i just used this, which is the basic script spawn.
spawn models/
animal/german_dog-real.tik
the bolded part is the command, the rest is telling it exactly what things to do for it. the italicized parts are the path for the german dog, which means like,
C:/Program files/EA/MOHAA
is probably your directory for your game,
animal/german_dog-real
is the subdirectory for the dog model. .tik is the format, tiki, which is proffesional grade models.
as for the dogheld stuff in dogscript, it wasn't completely finished i suppose. but im not too great on mp. what i did was use the
if statement to ask the computer about something. i asked it about the level.dogheld variable. i made it so that if the variable was 0, no one had the dog. if it were 1, allies had it, and if it were 2, axis had it. i forgot to add the part where it determines which side has it. which would require experimentation on my part, which it's almost 10:00 my time so i cant really do that.
come to think of it, since your dog is not going to attack someone you'll need this line added to spawn.
"sight" "0" "hearing" "0"
and afterwards in the line one down from it insert
$dog nodamage
sorry if i confused you m8,
anyway, i suppose a tut could explain all this better than i could so check out the MOHAA scripting language tuts, there's three of them. go to all of them tut option and look for about threee or 4 reference tuts in a row.