The only error message I recieved was in the text itself.
When I ran it, the text said:
{Major} You and your squads are going to be inserted into enemy territory early tommorrow morning led by Captain error: no vehicle to destroy the enemies artillery prior to the main assualt.
My username is [Pte] Greg (The [Pte] is there because of the MP squad i'm in, so I don't really want to change it.)
Problem is, I have tried changing my username, and it won' let me. Whenever I click on my existing one, and select edit, it creates a new user.
Heres the code I have again:
titletext [format ["{Major} You and your squads are going to be inserted into enemy territory early tommorrow morning\n led by Captain %1 to destroy the enemies artillery prior to the main assualt.", name player],"plain down"]
EDIT: BTW, I have not used setidentity on the player.