[AS3] [FSoD] Stackable Items || Orbit Player
So I have 2 help requests.
Help Request #1
How would I go about creating the stackable items (like tokens in prod). I have seen the prod XMLs, and I see something like this inside the XML:
How would I go about doing this.
Help Request #2
I was messing around with some stuff, and I wanted to create a flame that orbits players. I know there is the behaviour class called Orbit, but I can't set the target to player, so I just wanted to create my own. I saw the orbit, and took everything I need, the only part left is the behavior of selecting the closest player and orbiting them. Any help?
Help Request #1
How would I go about creating the stackable items (like tokens in prod). I have seen the prod XMLs, and I see something like this inside the XML:
Code:
<Object type="0x25bd" id="Pumpkin Seed x 41"> <Class>Equipment</Class> <Item/> <Texture> <File>d2LofiObjEmbed</File> <Index>0x72</Index> </Texture> <SlotType>10</SlotType> <Description> A Pumpkin Seed! You can drag and drop tokens onto each other and exchange a stack for a Helm of the Jack-o'-naut! </Description> <Quantity>41</Quantity> <ExtraTooltipData> <EffectInfo name="Stack limit" description="50"/> <EffectInfo name="Event" description="Halloween 2017"/> </ExtraTooltipData> <Soulbound/> <BagType>7</BagType> <Treasure/> <feedPower>8200</feedPower> </Object>
Help Request #2
I was messing around with some stuff, and I wanted to create a flame that orbits players. I know there is the behaviour class called Orbit, but I can't set the target to player, so I just wanted to create my own. I saw the orbit, and took everything I need, the only part left is the behavior of selecting the closest player and orbiting them. Any help?

+ Rep
