HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

little problem

06-05-2006, 09:31 PM#1
Linera
I have a trigger I'm working on where if you give item a to unit b do this
problem is i need to to be able to give stuff like items, gold, or exp to the unit who gave the to said unit.

Trigger:
npc has item
Collapse Events
Unit - Mountain King 0000 <gen> Acquires an item
Collapse Conditions
(Item-type of (Item being manipulated)) Equal to Gerard's Lost Ledger
Collapse Actions
Cinematic - Turn cinematic mode On for (All players)
Cinematic - Send transmission to (All players) from Mountain King 0000 <gen> named Mountain King: Play No sound and display Ahhh, thank you for.... Modify duration: Add 0.00 seconds and Wait
Wait 5.00 game-time seconds
Cinematic - Turn cinematic mode Off for (All players)
06-05-2006, 10:43 PM#2
PipeDream
What's your question..?
But it sounds like you need a generic system.
06-05-2006, 11:32 PM#3
Linera
well, basicly what it will do is:

say there is a paladin and a npc.
the paladin has an item to give to the npc for like a quest
the paladin gives item to npc.
then npc will say something and may give the paladin: item, exp, info, or money
06-05-2006, 11:50 PM#4
Orc Dork
So your trying to remake WoW like RPG?
06-05-2006, 11:54 PM#5
Linera
no i'm not remaking WoW
06-06-2006, 12:16 AM#6
st33m
Linera said nothing about WoW, so dont even start.

Now, as for that, you can set exp of the unit to whatever you want, you can set the owners gold to whatever you want. You can give the unit items with triggers. Can you say what part you specifically want help with?
06-06-2006, 12:24 AM#7
Linera
problem is i can't find a way to have it give to the unit who gave the npc the item.
06-06-2006, 12:38 AM#8
st33m
Hmmm... are the heros preplaced? No... I suppose not. If not just add them to a variable when they are chosen and then check when the unit gives the item... actually... I have no idea if that will even work... but I'm sure theres a way. Look around in the item triggers that have to do with aquiring or loosing... maybe giving... I dont have editor open right now so I cant give exact names.