map not reading script file !!!!!


(Flash95) #1

i have a map with construtables and func explosives.
it seems that when the game starts it is not reading my script file.
on the command map during warmup all of the objectives show correctly.
when the round starts they all change to command post icons on the command map and can be blown by a grenade.
then if I change sides to test the construction piece the game ends as soon as I spawn in!!

I have pulled each objective out in to a simple test map by its self and they all work correctly.

this is very frustrating :banghead: any thought would be great!


(SCDS_reyalP) #2

Do you have a script_multiplayer entity in your map ?


(Flash95) #3

Yes
it has a script variable of game_manager

// entity 93
{
“scriptname” “game_manager”
“origin” “-3056 656 776”
“classname” “script_multiplayer”
}


(lennyballa) #4

The script has to have the exact name of the map, if your map is called “dombo” then the script has to be “dombo.script”. Also at the top of the script you should have written: Game_manager with the _.
:stuck_out_tongue:


(Chis) #5

It sounds like you have a simple typo somewhere. I had a similar problem where a script routine wasn’t being called. After careful checking of every key value I was baffeled. Then I noticed it wasn’t a misspelled key value it was a key NAME. ie my constrtuctable had a scripttname instead of a scriptname. :banghead: