16
Technical forum / Help with a script
« on: April 22, 2008, 09:18:31 AM »
Hello every body
I'm not a coder and english is not my language, so sometimes it's difficult for me to understand, so forgive if my very newbies questions !
i Saw a script at this adress
http://wiki.dead-code.org/wakka.php?wakka=IconBased&v=5ir
so i'm understand the part 1, 2, and i pasted the script in the good place
but in part free i dont understand something:
Then in your test scene put the following code:
dlgObject.initializeDialogue("scripts\reactions.script");
dlgObject.insertIcon("first","icon.png","icon.png"); // insert some real image file instead of icon.png
dlgObject.insertIcon("second","icon.png","icon.png"); // insert some real image file instead of icon.png
dlgObject.insertIcon("third","icon.png","icon.png"); // insert some real image file instead of icon.png
what is the test scene? where i need to put this script part exactly?
can you help me?
Thanks for help
I'm not a coder and english is not my language, so sometimes it's difficult for me to understand, so forgive if my very newbies questions !
i Saw a script at this adress
http://wiki.dead-code.org/wakka.php?wakka=IconBased&v=5ir
so i'm understand the part 1, 2, and i pasted the script in the good place
but in part free i dont understand something:
Then in your test scene put the following code:
dlgObject.initializeDialogue("scripts\reactions.script");
dlgObject.insertIcon("first","icon.png","icon.png"); // insert some real image file instead of icon.png
dlgObject.insertIcon("second","icon.png","icon.png"); // insert some real image file instead of icon.png
dlgObject.insertIcon("third","icon.png","icon.png"); // insert some real image file instead of icon.png
what is the test scene? where i need to put this script part exactly?
can you help me?
Thanks for help