View Single Post
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321

Old December 3rd, 2021, 06:49 PM
Ah, I did forget that there was really was a difference with using container.

I have a top_holder component.gear item called eqCargoSpace which is bootstrapped to a vehicle as a place to put gear for the vehicle (like spare ammo, tents, medical supplies, etc.).

If I had something like (2x) Tents, (300x) Ammo X in the cargo space, I could to something like this?

Code:
 foreach gear in this
somestring = splice(somestring, eachpick.field[stkName].text,", ")
nexteach

MyContainString = “Contains: “ & somestring
Where MyContainString would be “Contains: (300x) Ammo X, (2x) Tent” ?

Working on -
  • (SWADE) WIP Savage Rifts
  • Savage Rifts (Deluxe): Update link in This post
  • Star Trek Adventures: Update link in This post
TCArknight is offline   #5 Reply With Quote