Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Deax Strife

#1
My EGO character has view 5 and speech view 4, but i wanted his view to change to view 7.

So i went to the interaction editor and placed:

Use inventory on hotspot
Conditional - If the player has an inventory item - Inventory item number: 4
Character - Change character view (EGO, 7)

It seems to work just fine. He walks like view 7, but the problem comes when he talks to an npc. Then the speech view reverts back to speech view 4.

How do i change the speech view as well. There aren't any actions in the Interaction Editor which says:
Character - Change character speech view.

Please helpÃ,  :'(
#2
I can't seem to find any articles or tutorials who can tell me how to do that.

Can any of you?  ???
#3
I downloaded the FOA_temp_v20c.agt because it had a SCUMM GUI, which was excactly what i was looking for.

I started a new game using the template and everything seemed to work just fine until i tried to save the project. Then this error came:

There was an error compiling your script. The problem was:
In: 'Global script'

Error (line 223): 'gui' is a global var; cannot use as name for local

Do you want to fix the script now? (Your game has not been saved).

I changed the script and called it 'gue' instead just to test it, but then it said:

There was an error compiling your script. The problem was:
In: 'Global script'

Error (line 223): 'object' is a global var; cannot use as name for local

Do you want to fix the script now? (Your game has not been saved).

Any suggestions as to what is wrong? Help will be appreciatedÃ,  :)

The script from line 223 to 233 is:

function GetLucasSavegameListBox(int gui,int object) {
Ã,  // Fills a listbox with the savegames in the lucas format: '1. description'
Ã,  string buffer, sgdesc;
Ã,  int counter=0;
Ã,  ListBoxClear(gui,object);
Ã,  while (counter<MAX_SAVEGAMES) {
Ã,  Ã,  StrFormat(buffer,"%d. ",counter+1);
Ã,  Ã,  if (GetSaveSlotDescription(counter+100,sgdesc)!=1) StrCopy(sgdesc,"");
Ã,  Ã,  StrCat(buffer,sgdesc);
Ã,  Ã,  ListBoxAdd(gui,object,buffer);
Ã,  Ã,  counter++;Ã,  Ã, 
SMF spam blocked by CleanTalk