ok creating variable is not problem for me ;] but thanksfor good tip because i want to have hundreads of quests. U guys dont know what I exactly want. U are allright i described it bad because my friend who makes terrain told me that is my turn in mapmaking :] (im making units spells scripts ald everything besides terrain)
Now Quests System that i want for my map.
I want to have such quests as in for example blizzard melee campagin or in many orpgs. I want quests like that:
There is unit/hero/buildnig/ staying with "!" or question mark upon its head. But region would also make me satisfied, wanna to show quest msg only to player who took the quests (if its not possible i will use team).
Example:
Event
Hero from team 1 appears unit with mark upon its head.
condition: team 2 cannot take that quest
actions: show quest message to player for example:
"Aghh those nasty peons raped my wife I want u to revange"
example Quest msg: Kill 12 peons.
add quest to log
^ thats all what i can do
but how to make quest completed when hero will kill 12 peons? And gain extra exp ? (I know how to add gold or items)
But how to do it only when player will complete the objectives?
And now harder example. Tooken from my funny ORPG that im working on.
Event:
Hero appears marked unit (eventually enters region)
Condition:
Team 1=true, team 2=false.
If all conditions are true than do actions:
Actions:
Show quest msg:
Satanists wants to kill and eat my cat, but they appears (spawns) on the hill only on 0:00 hour (game time) U must kill the satanists and rescue my cat. I want you to bring it here.
Add Quest to log with such description
of course
Create 3 "Satanist" on 0:00 gametime hour (that can work without that quest as else trigger) in region "hill"
Mark quest as completed when: 3 satanists are killed, rescueable "cat" is rescued and moved to region.
And when Quest is completed show msg kinda : "O thank u my salvation here u got 300gold"
Properties- add 300 gold when quest is completed.
Mark quest as failed when:
Specific Unit "Cat" is dies. When quest is failed show msg: "U are not worth my trust u wont get anymore quests in this area goodbye"
How to create it? My biggest problem are objectives, completing and failing them,all other things i can handle by myself
Thanks in advice