Staredit Network > Forums > SC2 Assistance > Topic: [Solved] Detecting the location of an item
[Solved] Detecting the location of an item
This topic is locked. You can no longer write replies here.
Aug 28 2010, 5:46 am
By: Riney  

Aug 28 2010, 5:46 am Riney Post #1

Thigh high affectionado

Need help pulling this trigger off. I cant find a way to detect where a specific item is in the players inventory.

Edit: I figure I could use an equip behavior when you equip the item, that could probably help.

Post has been edited 1 time(s), last time on Aug 28 2010, 6:00 am by Riney.



.riney on Discord.
Riney on Steam (Steam)
@RineyCat on Twitter

Sure I didn't pop off on SCBW like I wanted to, but I won VRChat. Map maker for life.

Aug 28 2010, 6:21 am Riney Post #2

Thigh high affectionado

Just like all of my trigger problems, I seam to find a way to make it work after a half hour. This can be closed <_<'

Though if anyone is curious to how I got the system to work. I detected Player Weapon and Player Property to find out if the ammo for the player is correct, then change the max energy and set energy to 0 (So that you cant use ammo from another gun of course).

Of course using a system as simple as this, every gun will have to have a different max clip size. Good thing the UMP is 25, the M4 is 30, a variant of the MP5 is 32, AK74 can have 40 ammo size, Thompson's can have a nice 50, w/e Im rambling now.



.riney on Discord.
Riney on Steam (Steam)
@RineyCat on Twitter

Sure I didn't pop off on SCBW like I wanted to, but I won VRChat. Map maker for life.

Aug 28 2010, 6:52 am payne Post #3

:payne:

Detecting item's position in an inventory. Click if you feel like:
1) Writing a Wiki to share your knowledge (you already have the solution noted down, shouldn't be long!)
2) The title describes accurately the problem

ktxhbai



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-4-18. : 3:57 am]
NudeRaider -- https://staredit.net/381600/ You have 5 minutes, then you can only edit your posts.
[2026-4-17. : 4:05 pm]
NudeRaider -- DarkenedFantasies
DarkenedFantasies shouted: you eat lots of beans
:lol:
[2026-4-17. : 11:30 am]
NudeRaider -- I would like 3000 minerals, please
[2026-4-16. : 7:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
[2026-4-16. : 3:46 am]
IskatuMesk -- how do i get gas
[2026-4-15. : 11:43 pm]
Moose -- you don't
[2026-4-15. : 10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
Please log in to shout.


Members Online: Nekron