• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[General] Few simple questions

Status
Not open for further replies.
Question One
  • Events
    • Unit - A unit Is attacked
  • Actions
    • Hero - Modify unspent skill points of (Attacking unit): Add 1 points
    • Wait 15.00 seconds
    • Hero - Modify unspent skill points of (Attacking unit): Subtract 1 points
This is in short for that spell what I already have made(with out conditions what also have no variables)
And I want to ask is this spell mui
  • Events
    • Unit - A unit Is attacked
  • Actions
    • Set Chance = (Random integer number between 1 and 5)
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • Chance Equal to 1
      • Then - Actions
        • Unit - Add Spell to (Attacking unit)
        • Wait 3.00 seconds
        • Unit - Remove Spell (Neutral) from (Triggering unit)
      • Else - Actions
Question 2 Simple does does this action make game laggy
  • Camera - Lock camera target for Player 1 (Red) to (Triggering unit), offset by (0.00, 0.00) using Default rotation
And pls if first spell is not mui tell me how to make it xD. Ofc +rep for good answer
 
Level 14
Joined
May 22, 2010
Messages
362
I think that the first spell is MUI but it is also bugged, if you start pressing Stop while a unit is attacking it will start gaining points at the speed of which you are pressing stop (which can be very fast). Try using a damage detection system as a event instead of a Unit is Attacked event.
As for the camera thing I turned on my FPS counter locked the camera target to a unit and the frames did not drop. Maybe if you give the unit a very very fast movement speed the frames will drop.
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
TRIGGER 1
It is MUI (tested with 3 units)
But I think the trigger should be Hero - Modify Hero Attribute, not Hero - Modify Hero Skill Points

TRIGGER 2
It is also MUI (tested with 3 units by adding Invulnerable to each) but I think that you are adding a wrong spell ? Because you removed a wrong spell too, lol.
You add Spell but you remove Spell (Neutral)
 
Status
Not open for further replies.
Top