Now what function do I use to go through that list and summon the current entity (i.e. send("summon" ..nextsummon..)) and then wait for balance and then summon the next one. Thanks!
Summoning Script
Summoning Script
On to my next project, trying to create a script to automate my summoning. Essentially I've got a simple table with the names of all my ents:
Re: Summoning Script
Um, there are no functions to wait for your MUDs balances.
Re: Summoning Script
Actually I've worked out most of it, I just need to know how to do it using that table? So to keep things simple how would I summon the first name in the list i.e. send("summon" ..FIRSTnameINtable)
-
- Posts: 186
- Joined: Sun Nov 14, 2010 5:57 am
Re: Summoning Script
Need a variable storing the current index, when you hit the end of the list you'll probably want to reset it to 1. Then everytime you regain balance:
Re: Summoning Script
Ok so this is what I came up with, let me know your thoughts/improvements:
Alias:
Alias:
Triggers:
Script Function:
Re: Summoning Script
if you're using a standard table, you don't have to hard code the length of it in. You can just prefix the table name with a hash (#) to get the number of elements in the table.