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

[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: 113
  • What it show.png
    What it show.png
    16.8 KB · Views: 115
Level 29
Joined
Oct 24, 2012
Messages
6,543
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