Originally Posted by
Randy19
Hey everyone.
I am making a map. I already did some before and(if i may say so) they aren't too bad. Anyway. I have one problem. Is there a way to script that a player can only have soandso many creatures of the same type? Like if i add 4 Dragons to the pool, is there a way to say that every Player may only get or have 1, so that the other 3 Dragons are left for the other 3 Players so that everyone only gets 1 Dragon?
Thank you in advance!
If you want to restrict a Creature Type for a certain Keeper, then try something like this.
Code:
IF(PLAYER#,CREATURE<=#)
NEXT_COMMAND_REUSABLE
CREATURE_AVAILABLE(PLAYER#,CREATURE,1,1)
ENDIF
IF(PLAYER#,CREATURE>=#)
NEXT_COMMAND_REUSABLE
CREATURE_AVAILABLE(PLAYER#,CREATURE,0,0)
ENDIF
That should do it.