Crossfire Server, Trunk
python_pickup.py
Go to the documentation of this file.
1 import Crossfire
2 
3 Crossfire.SetReturnValue( 1 )
4 
5 whoami = Crossfire.WhoAmI()
6 who = Crossfire.WhoIsActivator()
7 where = Crossfire.WhoIsOther()
8 
9 whoami.Say("i'm %s pickup by %s"%(whoami.Name, who.Name))
10 if (where) :
11  whoami.Say("i'm about to be put into %s"%where.Name)
12 else:
13  whoami.Say('put nowhere')
14