Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Candle on Fri 02/12/2005 15:44:06

Title: can anyone tell me about InvItemAnimation_090.scm
Post by: Candle on Fri 02/12/2005 15:44:06
I found the Module but nothing for a readme inside the folder and not sure how to use it.
I don't even remember where I got it .
InvItemAnimation_090.scm
Title: Re: can anyone tell me about InvItemAnimation_090.scm
Post by: strazer on Fri 02/12/2005 16:51:33
It's mine. I just have to write the documentation, then I will release it officially.
The module has two functions:

  InvItemAnimation.Start(InventoryItem *theinvitem, int view, int loop, int delay, optional RepeatStyle repeat);

  Example:
    InvItemAnimation.Start(iTorch, TORCHVIEW, 0, 10, eRepeat);

and

  InvItemAnimation.Stop(InventoryItem *theinvitem, optional bool keepcurrentframe)

  Example:
    InvItemAnimation.Stop(iTorch, false);
Title: Re: can anyone tell me about InvItemAnimation_090.scm
Post by: Candle on Fri 02/12/2005 17:02:20
Ok thanks ..