Page 1 of 1

Using KI data

PostPosted: Tue Apr 19, 2011 8:04 am
by Rabbit
I have an amazing idea for a puzzle, parts of which will be unique to each player. I was wondering is it possible to make an event happen or create an algorithim based on the players KI number? The idea being that I would like some basic events in my Age to be unique to each person.

I am using Blender and I am not an expert, but any pointers would be appreciated.

Re: Using KI data

PostPosted: Tue Apr 19, 2011 8:24 am
by Sirius
There is a Python function to get the player's KI number. Using an avatar type (for example PtGetLocalAvatar()), you should be able to use getPlayerID().

However, I think a ramdom function would be more appropriated. Of course, it is still possible to have two same combinations for two players, but depending on the way you do it, the probability to have two same codes (if you chose codes) is nearly impossible.

Re: Using KI data

PostPosted: Tue Apr 19, 2011 9:15 am
by Rabbit
Many thanks for that. I need to experiment and see what works, but I have some excellent ideas brewing I'd like to try out. :lol: