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

#1
Hello everyone, it's me again! I've finished the first part of my demo, so now I have two other parts to go.

The next part I'm tackling is less programming intensive, but it's still one I'm not sure how to tackle. So in this part, the playable character is supposed to interrogate this thug boss, and he'll be grabbing the boss by the collar.

What I'm trying to figure out is if they will all have to merge into one character sprite/character, or if I will have to separate them into two sprites, so one would have a separate talking animation while the other one talks, making it LOOK like one animation.



There will be some special animations in mid-dialogue like swinging the bad guy around, so should it be one view or two separate views? Thanks!
#2
EDIT: Finally got it working. Special thanks to Khris and a PM by Adeel S. Ahmed for helping me with this! ;-D


Hello!

I'm progressing through my adventure game, and almost have the first room fleshed out. The only thing that is standing in my way is trying to trigger a global variable in the code.

In dRadio Dialog Script (altered for the sake of spoilers):
Code: ags

@2
EGO: "Can you pull up a profile on the victim?"
DISP: "Right. Searching now..."
DISP: ...
DISP: "Here we go. He was arrested many times for swindling bystanders."
DISP: "He apparently belonged to a ring of grifters. He definitely was no saint."
EGO: "Interesting."
EGO: "So I'm investigating the murder of a petty criminal."
DISP: "Keep in mind, this man was guilty of pulling scams."
DISP: "Murder is a far more serious crime."
EGO: "I am well aware of that."
DISP: "Well now we know the victim, let's get back to investigation."
EGO: "Right."
option-off-forever 2
return


Ideally, I have this Global Variable called "vVicConart" which would trigger an event if it's value became 1 instead of 0. What should I do to tackle this problem?

If there's an alternate way of achieving what I would like to go for, I'm all ears.
#3
EDIT: Many thanks to Crimson Wizard and Khris for helping me out. The problem has been solved.

Hello everyone! I am trying to create a mystery/vigilante sort of adventure game with AGS.

Unfortunately, the specific sort of scripting I'm trying to go for is not in the manual (or at least from what I can read.) What I would like to do is have the playable character USE their radio on themselves, and trigger a conversation that would only happen in that specific room.

Basically if they used the radio at a crime scene, they would ask for details to look for, and if they were at a criminal hideout, they would ask to record conversations among thugs, and so forth.

I tried using:
Code: ags

import function cEgo_UseInv();

function cEgo_UseInv()
{
 if (player.ActiveInventory == iRadio) {
      Display("The radio clicks on.");
}
}


But with no luck. Can someone help me?
SMF spam blocked by CleanTalk