NewtC Posted January 27, 2008 Share Posted January 27, 2008 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 creaturearenaAnd vice versa for the other group of creatures spawned. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.