#1
|
|||
|
|||
Ruturn of vizact.randint() is not a number
Hi everyone,
I ran a problem that the return of vizact.randint(1,5) function is " <vizact.VizRandomIntParam object at 0x02F7DF30> " instead of a number. I don't know the reason. Can someone explain this? Thanks very much. |
#2
|
|||
|
|||
The vizact.randint command returns a dynamic parameter that can be used when creating vizact actions.
If you just want to random integer, you can use the random module.: Code:
import random number = random.randint(1,5) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converting a character to a number | jassel41 | Vizard | 1 | 02-10-2010 07:37 AM |
Maximum Number of Avatars? | EnvisMJ | Vizard | 3 | 05-12-2009 12:04 PM |
reducing number of polys in IVE file | vAlexia | Vizard | 1 | 04-20-2007 09:58 AM |
number of textures to load | lucalatini | Vizard | 2 | 05-12-2005 05:50 PM |
limits on number of objects | benelux | Vizard | 3 | 07-22-2004 01:26 PM |