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

#1
Hey,

I would need to change an objects ID given by the Program (the first object you add gets a 1, the second a 2, etc.)
The ID is also the Z-Index, and THIS I would like to change, because some objects should be behind others that were added earlier...
The Box is Read-Only, which I don't like...

Any idea how to do that?
???

Thans a lot guys...
#2
Already searched the forums but haven't found a clue, sorry if I oversaw something...

I want the character to use a skull two times to crack open a window.
On first usage the window breaks a bit and after the second use it cracks completely open, so now the charakter can do something with it (doesn't matter here what)...
How do I put that in?

the code for this:

Code: ags

function WindowFull_UseInv()
{
  if (cNevrly.ActiveInventory == iSkull) {
      cNevrly.Walk(857, 493, eBlock, eWalkableAreas);
      WindowFull.Visible = false;
      WindowHalf.Visible = true;
      cNevrly.Say("Great now I made a small hole in my Window.");
      cNevrly.Say("And I even don't know why.");
      cNevrly.Say("Maybe I should do it again...");
  }



WindowFull is the unbroken window
WindowHalf is the slightly broken Window
and WindowBroken is obviously the broken Window...

I expect it to be a check the usage of the item script, but I, shame on me, have no idea how to do it...

Thanks a lot for your help...

:insert cookie smiley here:
SMF spam blocked by CleanTalk