Question: How to force weapons select at beginning of new map
Hi all total newb but I try. I've been lurking here on and off for a while. I don't think I've posted...
Anyway, what I'd like to do is to bring up the weapons screen in MOHAA at the beginning of a new map, like Spearhead does.
I know how to force the weapons choice, and it works,but I'm not sure how to trigger it at a map change.
Quote:
for(local.i = 1; local.i <= $player.size; local.i++)
{
local.player = $player[local.i]
if(local.i == 1 && local.player.dmteam == spectator)
{
// do nothing
// because this might be a fake player
// on a 'virgin' dedicated server
// stufftexting will eventually crash the server
}
else
{
local.player stufftext ("pushmenu_weaponselect")
}
}
Do I need to add this to the script for each and every map, or hopefully I can just add it once with the other scripts I run.
Any help is appreciated.