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

Messages - Nadarian

#21
Now I do, thanks!!
Doing so, are you still able to make the main character talk and see his sentences on screen?
#22
Done!
Thanks Khris and Laura! Still learning a lot of basic stuff, and... though I already saw "LightLevel" was among regions properties, I completely forgot about it when I tried to implement this feature, and used the events instead.
Now it works as it should :)
#23
Yes Khris, I used region events to set a different light level on the character (while standing on the region).
How can I change character's brightness in different areas of the background if it's not using region events?
#24
Thank you Crimson Wizard!

For this occasion, I think I already solved all the issues with a GUI and a couple new rooms with an invisible main character.
But as this is my first try, I'll surely do some research about these custom cameras!
#25
Ha! I'm sure I'm making a bunch of noob mistakes in this first game also, but.. sincerely! I'm pretty happy about the results so far!!
I hope I can translate it into english and show it here when it's done!

Thanks, Khris!
#26
Hi there!

This is de situation: My main character has to go through a few regions in the middle of the scene, where there's a strong lightstream. Those regions continuously adjust his LightLevel to add a realistic touch when he's walking under that light, but here's the problem: If the character walks over those regions because the player clicks on an object or hotspot on the other side of the lightstream, the character goes through it completely unaffected by regions.

How could I solve this? ???

Thanks in advance!!
#27
Solved!  :)

In one case, I solved it with the GUI option perfectly! In another case, I just used a new room making the main character invisible to fake a zoom with many interactions in it.
There's still a third case left, I'll try to work on tomorrow. I hope I can easily do what's on my mind!


Again, thanks!
#28
Ok! With this I'm really close to get it!

But there's something I need to change to this script in order to make it work the way I'd like it to, and I don't know what it is...
Doing as you wrote, makes the SetProperty work as long as I combine the objects in the same room the hotspot is. Combining the objects in any other room in the game, gives the player the clue, but doesn't trigger the SetProperty. Would it be possible to make it work no matter the room you are in? But affecting that specific hotspot in a specific room, of course.

Thanks for all your help, Khris! I've already seen how active you are in this Forum!

EDIT:
Yes! As I said, I'm a complete newbie so please, be kind  :P But solved it all using Global Variables. Actually, didn't hear about them before... and they are a basic thing to know. Thanks again!!
#29
Thanks Khris!

I don't know if this is the case I'm exposing...! Let's see if I can explain myself better:

There's a Hotspot in a room which seems "useless" for the main character every time he looks at it.
At some point, you grab two objects that should be combined in the Inventory. Combining them gives the player a clue, and this should trigger that Hotspot to offer a different answer when the player looks at it again.

This is what I write in the GlobalScript when using these two objects on each other:

Code: ags

function iTargeta_UseInv()
{
  switch(cRoger.ActiveInventory)
  {
      case  iFiltre:
        cRoger.Say("I si superposo el filtre amb la cartolina...?");
        hCapsesPaper.SetProperty("CapsesPaper", 2);


When I try to start the game, this error pops up:

"Undefined token: 'hCapsesPaper'"

I understand GlobalScript can't find this, because this is a Hotspot located in a specific room. So then.. what should I do to trigger different properties on hotspots or other things from the GlobalScript?  :-\
#30
Hi again!

New newbie question...! I’m trying to change a property in a Hotspot from the General Script, when combining two different items.
When doing so, an error pops up because GeneralScript can’t find that Hotspot. I read something about importing/exporting things between script pages, but I really don’t know how it works nor if this is the way to solve my problem.

Thanks in advance! :)
#31
Thank you, Khris!

Seems this could be the perfect solution. This has to happen in a couple or three occasions during my game and I don’t know if this will work for all of them, but I’ll try it right now.

I’ll just let you know!
#32
Hi there!

Though I started using AGS just a few weeks ago for the first time, and my scripting knowledge was near zero at that time, I'm really happy with my first game. Something I'd love to use for my students in the "Analog Photography" subject!


Well, this said, what I'm trying to do in my game (which I really didn't know how to look for in the forums, nor what keywords to use in the subject), is that very recurrent thing of showing something really close when the player looks at an inventory item, an object, a hotspot... That is for example, looking at a book, and having it appearing fullscreen (or just partially), so you can read a page. Then right-clicking to go back to where you were. Or even putting an "Exit" or "Back" button.

I think I read something about Overlays or Dynamic Sprites that maybe could be this, but I'm really not sure about how to make this. In one case, I'd like this to happen when the player looks at something in the inventory, so it should happen no matter where he/she is.


Thanks a lot in advance!!
SMF spam blocked by CleanTalk