Note: This forum is merely an archive. It is no longer possible to register or post. - StackOverflow
New Ace of Spades Forums: http://buildandshoot.com/

Help.

For all your hosting needs.

Help.

Postby BCisPOOP » Mon Jun 04, 2012 7:53 pm

How can I make it so when the player drops the flag it resets it's position? I tried adding this in in onectf.py:

Code: Select all
def on_flag_drop(self):
        self.protocol.onectf_reset_flags()
        return connection.on_flag_drop(self)


but it won't work. Any help?

Edit: It worked now, but i want two flags...
BCisPOOP
Member
 
Posts: 1
Joined: Mon Jun 04, 2012 7:51 pm

Re: Help.

Postby colorpinpoint » Tue Jun 05, 2012 12:02 am

In onectf is their not only 1 flag in the game.You would have to do it for tdm probably.
Image
Image
IGN:Colorpinpoint
Ki11aWi11 Server Thread
First Map:Here
User avatar
colorpinpoint
Member
 
Posts: 451
Joined: Thu Apr 05, 2012 11:22 pm


Return to Server



Who is online

Users browsing this forum: No registered users and 4 guests

cron