How do you find the owner of a script? waterish-packed-blend.blend.

(ititrx) #1

:slight_smile:
I have a demo blend called waterish-packed-blend.blend.

Its an example of shadows, a pond, a cube falls into it.

I like the way its animated and thats from the script.

I cant remember where I got this blend, and there isnt any text from the auther…

0 Likes

(Stu_Flowers) #2

controller = gamelogic.getCurrentController()
owner = controller.getOwner()

There you go!

~~Stu

0 Likes

(spacestrudel) #3

:D:D:D:D:D:D:D

How else, just use python :slight_smile:

Don’t know the owner but I would like to see that .blend file.
Any chance of uploading it?

0 Likes

(ititrx) #4

lol…thats funny…I will upload it later today…

0 Likes

(Mico27) #5

but is it possible to get the OB (object) owner? coz just getOwner() returns only the GameObject fonction and not the object itself…

0 Likes

(Octopus4) #6

aut = gameLogic.getAuthor()

lol .

0 Likes

(ititrx) #7

http://uploader.polorix.net//files/621/water_ish_packed.blend

Know that I did not make this blend…

0 Likes

(Mico27) #8

what? wait that commend doesnt exist lol:p

0 Likes