I have two questions, one being which script do I put this in, the global script or the room script? And the other being how do I get this particular piece of script to work correctly. I am sort of a scripting noob but this has me completely stumped, after following the topic on the AGS wiki (http://americangirlscouts.org/agswiki/Scripting,_Code_%26_Interaction#Having_a_character_continuously_animated_in_the_background)
I have placed:
cNorberty.SetIdleView(17,10)
into the global script (my characters name is cNorberty and has his idle animation set to 17, with the number 10 referring to the a delay of 10 seconds i want between animations) but I am not sure if this is the correct area to be typing the script into as the tutorial is somewhat vague, and I am unsure as to whether or not I need to type function or another item to get the script to read the particular line I have entered. Any help would be greatly appreciated, thanks!
I have placed:
cNorberty.SetIdleView(17,10)
into the global script (my characters name is cNorberty and has his idle animation set to 17, with the number 10 referring to the a delay of 10 seconds i want between animations) but I am not sure if this is the correct area to be typing the script into as the tutorial is somewhat vague, and I am unsure as to whether or not I need to type function or another item to get the script to read the particular line I have entered. Any help would be greatly appreciated, thanks!