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

#1
Hello!

I am trying to use the Object.Name property in the global script to access an object's name string from any room.

I've looked around for an answer but can't figure out how to use the "Object array" that I've heard about.

Just wondering if anyone could tell me how it works?

I know the basic format is something like:

"object[2].Name"  and that objects are numbered in a room by an ID number, but how does the room number fit in with the object index if we're going for a general script call?

Any insights would be much appreciated.

Thanks!
#2
Say we have a room object. I know how to make my character bend down to "pick" it up and put it into inventory. But what if I want her to visually pick up the object and have it appear as if she's holding it as she strolls around the room? In other words, the object is following a point on the character as the character moves and the object is moving with the character. I've played with this for hours but can't find a way to make it work in script. Will I just have to make new alternative character views with her holding each object that I'd like to use this way? I'd like to do it in script if possible. Would so appreciate some help. Thanks!!!
#3
Hello All,

I am making my first game and already understand that a changing text field can be placed in the long grey "status bar" GUI using commands like:
@HOTSPOT@ or @SCORE@ ...BUT

What I would like to know is how to display a general entity in the status bar. For instance, let's say I define new global integers (I want more score-like variables to stand for things like money, health, time, etc) and I want them to keep updating their values in the status bar display field at the top. How do I do this? I've tried playing around and dug into a lot of tutorials but haven't been able to find out...

Thanks so much for your help.
SMF spam blocked by CleanTalk