Forward spawn : Default Flag


(Yatta) #1

Apparently i fail at searching, and i could find a post helping me :

I have a regular forward spawn capturable flag, it works fine and all, but since the spawn is owned by allies at the begining of the map, i want it to show the allies flag, not a naked pole. How do i do that ?

Thanks

[edit: apparently, this is a tough one, 40 readers and not an answer ! :stuck_out_tongue: …]


(UJERebel) #2

http://games.chruker.dk/enemy_territory/scripting_reference.php#spawn_related

And then this command within the create/spawn of some object?

long time since i opened a script but it’s woth a try i guess:)


(Yatta) #3

“setautospawn” is a command to assign all players of a team to a spawn point (unless they manually chose another spawn point). It wont “capture” the position.

I think i will simply place an independant gamemodel of the flagpole with the allies flag and remove it once someone capture it.


(phisherman) #4

If you still need help about it, post the part of your script and the entities that belong to your spawnflag.


(Yatta) #5

As said, i ended up just adding an overlaying game_model of the allies flag, start the animation with script, and hide that model when the real flag is captured by either team. Works like a charm ; )