Hi
I’d just like to start out saying that this forum has been a great resource for me in the past few weeks trying to learn how to map in ET. Okay, now for my problem. I’m still experimenting with all of the different features of Radiant, and I built a box map to learn about multiple spawnpoints. I have it so that when a button is pressed, it should change the Allies spawn and hide their old spawn from the limbo map. It does that, but the second spawn does not show up and that is what I’m wondering about. Here is my script:
game_manager
{
spawn
{
setstate spawn_1 default //Show First Allies Spawn on Command Map
}
}button
{
trigger change_spawn //Target of button… changes spawns
{
wm_announce “Changing Spawns” 1
alertentity second_blue_spawn //CTF-BlueSpawn at second Team_wobj
setstate spawn_1 invisible //Hide First Spawn from limbo map
setstate spawn_2 default //Show Second Spawn marker on limbo map
setautospawn “Allied Spawn 2” 1 //Set Spawn as Second Spawn Point
}
}
I have tried looking at the goldrush map, but I just don’t understand where my scripting is going wrong. Another thing I’m wondering about is: what does alertentity do? I’ve seen it in the Goldrush script so I figured that it was essential to getting multiple spawns working. Help is appreciated.
Thanks
. Before, everything worked right (i.e. there was a new spawnpoint and the old one turned invisible), the only problem was that the new spawnpoint did not have a flag marker on the map. This was an Allies spawnpoint, so what I did was: I opened up the entity window and checked off default_axis, in my script there is an alertentity set to that Wolf_obj and the Allies now spawn there with a little flag marker. I know that this knowledge will come in handy later on. I know I’ll be back with more questions. 