Main Menu
  • Welcome to The RPG Maker Resource Kit.

Persuade!

Started by A really NoOby Guy, February 07, 2006, 01:49:00 AM

0 Members and 1 Guest are viewing this topic.

A really NoOby Guy

Hi, I am working on two games, Kerenia's Heroes:Curse of the Dreadblade and Hero Genocide. Anyway, I am a BIG noob, I need to know how I could make it so about 75% of the time the person is persuaded and 25% of the time he will stay @ the certain spot....

GilgameshRO

I'm not sure I understand the question... Could you elaborate?

ArkBennett

Make a variable, under it's availiable properties select "Random number between" and set the first number 1 and the second 4.

On the event where your supposed to persuede the person make a conditional branch and select variable.
For the number put 1. Check else case.

So you know what your doing.
When you set the variable 1-4 the value of the variable is randomly set on a number between 1-4 or 25%-100%. On the conditional branch, if the variable landed on 1 (25%) then he won't tell you. But with the "Else Case" (75%) he will tell you.

So put the 25% chance in the conditional branch and put the 75% on "Else Case".

Jesse 015

Quote from: GilgameshROI'm not sure I understand the question... Could you elaborate?

i would ask the same, like, WTF r u talking a bout?
Badass, and a do'er not a thinker

ahref

are you saying for example

pig town(future website of mine material)

little piggy doesnt wnat to go to school so when you try to move him he may not follow your commands

or

pig has to kick the tree to get apples(battle)

pig doesnt feel like doing it


that sort of thing?

dwarra

Guys, ArkBennet already answered the question, correctly so just wait for his reply, PLEASE

A really NoOby Guy

I am a serious noob, How do I use that Variable thing Under Preconditions?

ArkBennett

Preconditions, aren't neccesary.
This is all done with the creatable event commands.

Here's what it should look like...

<>Variable: [0001: Variabe Name] = Random (1..4)
<>Conditional Branch: Variable [0001: Variable Name] == 1
   <>(Insert the 25% here)
:    Else Handler
   <>(Insert the 75% here)
:    End


See, it isn't that hard.

Zeriab

If you have troubles with variables I suggest you read this:
http://www.crankeye.com/forums/viewtopic.php?t=2627