9 player = Crossfire.WhoIsActivator()
10 whoami = Crossfire.WhoAmI()
15 value = Crossfire.WhoAmI().ReadKey(key)
24 Crossfire.WhoAmI().WriteKey(key,
str(value), 1)
43 setValue(
"ship_timer",
str(whoami.CreateTimer(time, 1)))
50 if Crossfire.WhatIsEvent().Subtype == Crossfire.EventType.APPLY:
55 whoami.Map.TriggerConnected(10, 1)
56 whoami.Map.Print(
"\"Ahoy, the ship is ready to set sail!\" You feel the ship beginning to move.")
59 player.Message(
"The ship has already set sail, be patient!")
62 elif Crossfire.WhatIsEvent().Subtype == Crossfire.EventType.TIMER:
66 whoami.Map.TriggerConnected(11, 1)
67 whoami.Map.Print(
"The ship has arrived at its destination.")
75 whoami.Map.TriggerConnected(10, 0)
76 whoami.Map.TriggerConnected(11, 0)
77 whoami.Map.Print(
"The ship is ready to board.")