The Nexus Forums: Arena Script needed - The Nexus Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Arena Script needed

#1 User is offline   NewtC 

  • Enthusiast
  • PipPip
  • Group: Members
  • Posts: 118
  • Joined: 01-August 07

Posted 27 January 2008 - 09:45 PM

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.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Skin by Skinbox
Quality & cheap IPB skins, premade vBulletin styles, cheap Web templates and more! - Skinbox