• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

group Exp from quest ?

Status
Not open for further replies.
Level 3
Joined
Jul 17, 2005
Messages
36
I am making a RPG and as a reward for the 1st quest your are givin 200 exp. but the game is more a group thing and the only way i know how to give exp is to one person.. is there a way to give exp to multiple heros?
 
Level 3
Joined
Jul 11, 2005
Messages
50
to answer you question i need a little more info are all the heros required to be there and how many heros do you want to give exp to?
 
Level 3
Joined
Jul 17, 2005
Messages
36
uhhh.. not all the heros are need to be there. and to as many thats playing.. up to 8.

What i have sofar is 3 parts. 1 to start the quest.
2. is to kill a spider
3. return to the person for the reward
 
Level 6
Joined
Mar 18, 2005
Messages
153
i guess its a coop rpg so u might just try this:
Code:
Q1
    Events
        Time - Every 2.00 seconds of game time
    Conditions
        (thefirstquest is completed) Equal to True
    Actions
        Trigger - Turn off (This trigger)
        Unit Group - Pick every unit in herogroup and do (Actions)
            Loop - Actions
                Hero - Add 200 experience to (Picked unit), Show level-up graphics

i suggesting changing the event.
 
Level 3
Joined
Jul 17, 2005
Messages
36
"Q1
Events
Time - Every 2.00 seconds of game time
Conditions
(thefirstquest is completed) Equal to True
Actions
Trigger - Turn off (This trigger)
Unit Group - Pick every unit in herogroup and do (Actions)
Loop - Actions
Hero - Add 200 experience to (Picked unit), Show level-up graphics"



uhh.. how do u do. Unit Group - Pick every unit in HEROGROUP. thiers no option for that.
 
Level 6
Joined
Aug 29, 2004
Messages
159
heres my take on it:

Code:
Quest1 reward
    Events
        Unit - A unit comes within 300.00 of Questman <gen>
    Conditions
        Boolean - Quest1Fulfilled Equal to True
        Boolean - ((Triggering unit) is in Herogroup) Equal to True
    Actions
        Unit Group - Pick every unit in Herogroup and do (Actions)
            Loop - Actions
                Hero - Add 200 experience to (Picked unit), Show level-up graphics

for this you will need 2 variables, and a unit already on the map.
Unit: Questman. Have a unit on the map that the players must go to to get the reward. I'm calling him questman for ease, you'll probably have a custom unit called Grighol Wartak or sumthing :lol:
1: Unit-group variable: Herogroup When every player picks their hero, add the hero to this unit-group. This will be important in your RPG.
2: Boolean variable: Quest1fulfilled. Default to false; When the quest is fulfilled set this to true.
ill post in a second with basically the whole quest triggered for you :).
=][= Bort
 
Level 6
Joined
Aug 29, 2004
Messages
159
Ok, here's all the triggers, they might not work perfectly as i just whacked them together, but there u go:

Code:
Quest1 create
    Events
        Map initialization
    Conditions
    Actions
        Quest - Create a Required, undiscovered quest titled Spider Hunting with the description (Girghol Wartak has ...), using icon path ReplaceableTextures\CommandButtons\BTNSpiderBlue.blp
        Quest - Create a quest requirement for (Last created quest) with the description Kill the spider in ...
        Set Quest1 = (Last created quest)

Variables needed: Quest1, quest variable. If you are having lots of quests, you could set this to an array variable Quest, and then set Quest[1] = (Last created quest)

Code:
Quest1 acquire
    Events
        Unit - A unit comes within 300.00 of Grighol Wartak 0017 <gen>
    Conditions
        ((Triggering unit) is in Herogroup) Equal to True
        Quest1Fulfilled Equal to False
    Actions
        Trigger - Turn off (This trigger)
        Quest - Mark Quest1 as Discovered
        Quest - Enable Quest1
        Game - Display to (All players) for 15.00 seconds the text: Girghol Wartak: Kil...
        Cinematic - Ping minimap for (All players) at (Position of Spider 0018 <gen>) for 1.00 seconds
variables:
The Quest1 variable from last trigger.
Quest1Fulfilled: Boolean variable, default to false.
Herogroup: a unit-group variable that all heroes are in.


Code:
Quest1 fulfill
    Events
        Unit - Spider 0018 <gen> Dies
    Conditions
    Actions
        Trigger - Turn off (This trigger)
        Set Quest1Fulfilled = True
        Game - Display to (All players) for 15.00 seconds the text: Return to Grighol f...
        Cinematic - Ping minimap for (All players) at (Position of Grighol Wartak 0017 <gen>) for 1.00 seconds

No new variables here: the Quest1Fulfilled variable is set to true.



Code:
Quest1 reward
    Events
        Unit - A unit comes within 300.00 of Grighol Wartak 0017 <gen>
    Conditions
        Quest1Fulfilled Equal to True
        ((Triggering unit) is in Herogroup) Equal to True
    Actions
        Trigger - Turn off (This trigger)
        Game - Display to (All players) for 15.00 seconds the text: Grighol Wartak: Tha...
        Quest - Mark Quest1 as Completed
        Unit Group - Pick every unit in Herogroup and do (Actions)
            Loop - Actions
                Hero - Add 200 experience to (Picked unit), Show level-up graphics

Again, all the old variables. Seem simple enough?

if u need help, PM me.
Ooh, and can you please name the guy Grighol Wartak :lol: consider it my fee
=][= Bort
 
Status
Not open for further replies.
Top