• 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.

[Trigger] Need help again

Status
Not open for further replies.
Level 19
Joined
Oct 7, 2014
Messages
2,209
For the second time I really need help again guys

In the set integer line i can't change it into ((Level of AAAParasiticfiend for (Triggering unit)) x 3)
it doesn't show the arithmetic function

what should i do

  • Events
  • PSFCast
  • Unit - A unit Starts the effect of an ability
  • Conditions
  • (Ability being cast) Equal to AAA Parasitic Shadowfiend
  • Actions
  • Set PSFInstancesRunning = (PSFInstancesRunning + 1)
  • Set PSFIndex = (PSFIndex + 1)
  • Set PSFOwner[PSFIndex] = (Triggering unit)
  • Set PSFTarget[PSFIndex] = (Target unit of ability being cast)
  • Set PSFDmg[PSFIndex] = ((Real((Level of AAA Parasitic Shadowfiend for (Triggering unit)))) x 5.00)
  • Set Integer = ((Level of Unknown AAA for (Triggering unit)) x 3)
  • Set PSFCharges[PSFIndex] = (18 - Integer)
  • Set PSFNumberofSpawns[PSFIndex] = (Level of AAA Parasitic Shadowfiend for (Triggering unit))
  • Trigger - Turn on PSF Loop 1 sec <gen>
 

Attachments

  • What it should show.png
    What it should show.png
    24.4 KB · Views: 114
  • What it show.png
    What it show.png
    16.8 KB · Views: 115
Pleas tell me if,
Do you use JNGP ?
Do you use UMSWE ?

This has nothing to do with arithmetic question.

@OP
You have to click the set. Then on the right side click the value and click arithmetic.
Next click level of unit for the left side and 3 for the right side.
Finally click the plus sign and change it to a X.

If this is not your problem then explain much better what the problem is.

Also use the variable that triggering unit is stored into rather than calling triggering unit in the next couple of gui actions.
 
Level 19
Joined
Oct 7, 2014
Messages
2,209
The only option that is shown when I change the value in this part

  • Set Integer = ((Level of Unknown AAA for (Triggering unit)) x 3)
is the Variables only and there is no other option. It should show the arithmetic function but the doesn't show.
 
Status
Not open for further replies.
Top