thx again, this code is nearly doing as we want and we think to have
figured out how to change it to meet our requirments. also thx for the
tip using a heap...
should there be more problems i'll post again!
[mx]
--
http://mail.python.org/mailman/listinfo/python-list
ah, and sorry for that 'unreadable' code, but that was our first try of
coding ever. we're working through the python documentaion right now -
and - thanks to the post by STeVe we at last now that we have to
construct a class for our purpose.
Thx for any help
mx2k
--
http://
indeed, we're it is our combat timeline. we enter the initiative and
reaction time, it should find out the lowest then the next, then the
'n'th etc. and shouw it on the screen like
Next action 'Character Name1' at tick No 'Initiative1
2nd action 'Character Name2' at tick No 'Initiative2'
[...
y :)
Code follows:
# Timeline Tools for an RPG system - Written in Python 2.4
# Created by [mx] networkz @ 27.02.05 - [EMAIL PROTECTED]
# Collaboration work of mx2k & Tschabo (von Konsti)
# import math
#-
#defining functions
#h