Jump to content

Arena Script needed


NewtC

Recommended Posts

Does any one know how to get two lists of leveled creatures to attack each other in sight? And i also need a way to place bets in dialogue. Here is my current script.

 

begin creaturearena

;bet and duel are global variables
;this handles the betting money
if ( ondeath == 1 )
if ( duel == 1 )
	if ( bet == 1000 )
		player->additem gold01 1000
	elseif ( bet == 100 )
		player->additem gold01 100
	elseif ( bet == 500 )
		player->additem gold01	500
	endif
	set bet to 0
;and ressurects if there is know money set
elseif ( duel == 0 )
	ressurect
endif
endif

;this should handle the attacker
if ( duel == 1 )
startcombat alit_telauto_arena
startcombat atronach_flame_telauto
startcombat atronach_storm_telauto
startcombat atronach_frost_telauto
startcombat BonewalkerGreater_telau
startcombat centurion_spider_telaut
startcombat golden_saint_telauto_ar
startcombat daedroth_telauto_arena
startcombat guar_feral_telauto_are
endif

if ( bet > 1 )
     set duel to 1
endif

end creaturearena

And vice versa for the other group of creatures spawned.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...