first steps

cave coordinates set
This commit is contained in:
CharonInferar
2014-05-05 03:49:17 +02:00
parent 079605d063
commit b7c9cd3a9e
4 changed files with 29 additions and 2 deletions
+4 -1
View File
@@ -4,7 +4,10 @@ def setup():
return
def run(core, actor, target, commandString):
#actor.sendSystemMessage('Cell ID %s' % actor.getContainer().getTemplate(), 0)
#actor.sendSystemMessage('Cell ID ' + actor.getContainer().getTemplate(), 0)
#actor.sendSystemMessage('CellNumber: ' + str(actor.getGrandparent().getCellNumberByObjectId(actor.getContainer().getObjectID())), 0)
actor.sendSystemMessage('CellNumber: ' + str(actor.getContainer().getObjectID()), 0)
if actor.getPosture() == 13 or actor.getPosture() == 14:
return
@@ -0,0 +1,17 @@
from resources.datatables import Options
from resources.datatables import State
def addPlanetSpawns(core, planet):
stcSvc = core.staticService
objSvc = core.objectService
hunter1 = stcSvc.spawnObject('object/mobile/shared_dressed_dark_force_crystal_hunter.iff', 'dantooine', long(8535483), float(0), float(0), float(2), float(0.71), float(0.71))
hunter2 = stcSvc.spawnObject('object/mobile/shared_dressed_dark_force_crystal_hunter.iff', 'dantooine', long(8535483), float(3), float(2), float(4), float(0.71), float(0.71))
wuher = stcSvc.spawnObject('object/mobile/shared_dressed_dark_force_crystal_hunter.iff', 'dantooine', long(8535483), float(8.6), float(-0.9), float(7), float(0.71), float(0.71))
wuher.setCustomName2('Wuher')
wuher.setOptionsBitmask(256)
#hunter1.setCustomName2('Reelo Baruk')
#hunter1.setOptionsBitmask(264)