Hello Community,
I am practicing on Map-modding and today I tried to create a trigger, who makes a Quest unavailuable if the Quest is done.
And since I can't see if the Quest is unavailuable for all then, I ask you for help ;P
The Quest shall only be unavailuable for the Player who already did the Quest, not for all other players !! (Would be kinda useless if 9 new Player are going to start and only 1 can create a soul.)
The first Trigger is for the 1st Step of the Map and just shall be an example ... I have a few more Quests already but since I make a 480x480 Map on my own, it will take some time, till the Map will be ready for release ;P
The Trigger gives a wisp with the Name "Your Soul" and it will appear at a graveyard.
BTW: If you find anything in the Triggers who can be left out, please tell me ;P
I am practicing on Map-modding and today I tried to create a trigger, who makes a Quest unavailuable if the Quest is done.
And since I can't see if the Quest is unavailuable for all then, I ask you for help ;P
The Quest shall only be unavailuable for the Player who already did the Quest, not for all other players !! (Would be kinda useless if 9 new Player are going to start and only 1 can create a soul.)
The first Trigger is for the 1st Step of the Map and just shall be an example ... I have a few more Quests already but since I make a 480x480 Map on my own, it will take some time, till the Map will be ready for release ;P
The Trigger gives a wisp with the Name "Your Soul" and it will appear at a graveyard.
-
Release your Soul
-
Events
- Unit - A unit Acquires an item
-
Conditions
- Quest1ReleaseYourSoul Equal to 0
- (Item-type of (Last created item)) Equal to Soul
- ((Buying unit) is A Hero) Equal to True
- (Owner of (Triggering unit)) Equal to (Random player from (All players matching (((Owner of (Triggering unit)) controller) Equal to User)))
-
Actions
- Unit - Create 1 Your Soul for (Owner of (Triggering unit)) at (Center of Graveyard <gen>) facing (Position of Spirit Caller 0000 <gen>)
- Set Quest1ReleaseYourSoul = 1
- Item - Remove (Item carried by (Buying unit) of type Soul)
-
Events
-
Quest Release
-
Events
- Unit - A unit Loses an item
-
Conditions
- (Item-type of (Item being manipulated)) Equal to Soul
- Quest1ReleaseYourSoul Equal to 1
-
Actions
- Neutral Building - Remove Soul from Spirit Caller 0000 <gen>
-
Events
BTW: If you find anything in the Triggers who can be left out, please tell me ;P