• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

disable unit from picking up tomes, but can still pick up items

Status
Not open for further replies.
Level 28
Joined
Feb 18, 2014
Messages
3,580
First you will have to make the tome non-acquireable when picked up. There is an option in the OE that change that, the point is to disable the instant effect of the tome and make it like any other item, after that you need to trigger the tome, so whenever it's picked, you can simply remove it or drop it (You could use Item-Type in this case). Now as for the other situation, the bonus depend on the ability of that tome. It's all configurable in the Object Editor.
 
Last edited:
Level 4
Joined
Dec 1, 2011
Messages
41
thanks warseeker, it worked. i did it like this(it's a 1 player rpg):

no items
Events
Unit - HEY! LISTEN! 0616 <gen> Is issued an order targeting an object
Conditions
Or - Any (Conditions) are true
Conditions
(Item-type of (Target item of issued order)) Equal to Tome of Strength +2
(Item-type of (Target item of issued order)) Equal to Tome of Agility +2
(Item-type of (Target item of issued order)) Equal to Manual of Health
(Item-type of (Target item of issued order)) Equal to Tome of Intelligence +2
(Item-type of (Target item of issued order)) Equal to strength, intelligence, agility + 5 each
(Item-type of (Target item of issued order)) Equal to power overwhelming
(Item-type of (Target item of issued order)) Equal to rune for the ruined
Actions
Unit - Pause HEY! LISTEN! 0616 <gen>
Unit - Order HEY! LISTEN! 0616 <gen> to Stop
Unit - Unpause HEY! LISTEN! 0616 <gen>
Game - Display to (All players) for 1.00 seconds the text: only unclegranddadd...
 
Status
Not open for further replies.
Top