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 - nightmarer

#1
Hello, I have in my game SierraWithBackgorund as Speech style in my general settings.
But there are sometimes which I prefer not showing the mugshots.
So I'm using
Speech.Style = eSpeechLucasarts;
in my script.
The first problem is that whenever the character speaks it turns in the mugshot, as the SpeechView is still the mugshot. Then I change the SpeechView to the standard view of the caracter, and then whenever the character speaks it does the walking movement.
How can I deal with this problem?

Regards.
#2
Hello.

I am having a Null Pointer Exception with an Audio Channel set in one room, but it happens the second time I visit the room.

Code: ags
AudioChannel *acPropaganda;

function room_Load() {
 acPropaganda = aSpeech_close.Play();
 acPropaganda.SetRoomLocation(866, 252);
}

function room_Leave(){//Always exit from Station Out
 if(acPropaganda.IsPlaying) {
    acPropaganda.Stop();
 }
}

The SetRoomLocation line is the one which is returning the error, I tried using
Code: ags
function room_Load() {
 acPropaganda = aSpeech_close.Play();
 if (acPropaganda == null) 
  acPropaganda.SetRoomLocation(866, 252);
}
but then I'm having the Null Pointer Exception in the if.
I don't know what I'm doing wrong.
#3
Hello,

I've been trying to make my character to change the view but it is not doing it.

Code: ags
    Isaac.ChangeView(583);
    Display("%d", Isaac.View);

The display it shows the number 583 rightly, but it is showing the normal view of the character. The view 583 is showing other sprites.

I think that this is a kind of bug.

I'm still using the 3.5.1 and the last patch, by the way.
SMF spam blocked by CleanTalk