Well, Im not a programmer but im trying to make a simple system that sends a message that have a value from a property.
It s like this, I have two main properties, the minutes and the seconds. The property seconds count each second and when it reachs 60 it add 1 to the minutes property, its a simple process you can see it on the image that I uploaded.
The problem is, I want to create a script that when receive the you_win message, send another message with the subject = to the value of the minutes and the seconds.
I started a script, but its not right, what can I do in order to make it!
from bge import logic
cont = logic.getCurrentController()
own = cont.owner
time= controller.actuator['Time']
time.subject = own['minutes']
Im keep trying here but I think that I done something wrong, I suck at this ****** and I usually get so frustrated! i dont know what I need to do.
I ll tell about the case maybe i ll be more usefull.
What I want to do is:
I have a time counter, and this defines how good you done the puzzle, the quick you finish it better. after you finish it a new scene pop up, and there the time that you took to finish the puzzle will be showed.
There is a better way to make it? I dont know i need something that work better, I think that what Im doing ll not going to work.
I dont know almost nothing about programing so my initial idea is probably stuped!
Someone have any idea? this is very important for my game but I m kind of lost here, without it the player will not know how mutch time he took, and since its a puzzle game this ll be essential!
Please help