Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Plz help me, I have a problem to creat a array.....

4pril

Member

Sr, i think this question is so stupid, but i dont find it in anywhere.
I wanna write a small script about Quest. Do you image ?
So i want to build a array, like "$game_party.actor.name".
I spend 4 days to learn this script Quest Book v1.2 ( ( about Quests too, i found it in this 4rum, but now i dont ) but dont understand how can it maked ?
Plz help me if you can ... :sad: I wanna have my self script.
Explain it to me more easy more possible, because my English is limed !!! (<~ so give me a example to print the value ex : "$game_quest.name" and "$game_quest.info"
Thanks so much !!!
 
Do you want to build your own Quest Book script?
Or do you want help using Zeriab's Quest Book script?

To create an array of actor names in the party...

Code:
names = []

for i in 0..$game_party.actors.size

  names.push($game_party.actors[i].name)

end

The statement that draws the text in the window is ".draw_text"
It is a method of the bitmap class, so probably looks like

self.contents.draw_text(x, y, width, height, text, [alignment])

where 'contents' is the bitmap for the window.

There's a really good chance I misunderstood your question. If so, please clarify.

Be Well
 

4pril

Member

Brewmeister":1csvs380 said:
Do you want to build your own Quest Book script?
Or do you want help using Zeriab's Quest Book script?

To create an array of actor names in the party...

Code:
names = []

for i in 0..$game_party.actors.size

  names.push($game_party.actors[i].name)

end

The statement that draws the text in the window is ".draw_text"
It is a method of the bitmap class, so probably looks like

self.contents.draw_text(x, y, width, height, text, [alignment])

where 'contents' is the bitmap for the window.

There's a really good chance I misunderstood your question. If so, please clarify.

Be Well

i think my English is so bad, so you cant understand my question.
i dont have the value "$game_quest"
i wanna have my own script about the Quest !! but i read and tried with the Quest Book v1.2, see how can it maked ?? write my script but NON-work . Hopeless.
plz answer more fast more possible
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top