• 🏆 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!

Weapons/Help

Status
Not open for further replies.
Level 6
Joined
Oct 25, 2018
Messages
108

  • Hi. I am creating an RPG, in which I have placed various objects with which you can equip your hero. The point is that I would like to create a trigger that would allow the hero in question to only use one weapon object at a time. Example, that if I have a sword, an ax and a bow as a right-hand weapon, that I can only carry one of those, since I have included the model of the object and when it carries it (if it has many weapons) it looks as if in that single hand took a lot of things, sword, ax, bow, etc ... and my idea is to see a unique model, the item that carries and already .... how can I do it?
 
Not entirely sure what you are asking here, but it seems you want a hero to get different weapons when he/she/it picks up different items/weapons? You could use this:

  • YourTrigger
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • ((YourUnit has YourItem) Equal to True) or ((YourUnit has YourItem) Equal to True)
    • Actions
      • Unit - Order YourUnit to drop YourItem at (Position of (Triggering unit))
If you want your unit to hold different weapons just use an initially disarmed model, and then attach a special effect upon picking up items.
 
Status
Not open for further replies.
Top