#Inventory syetem

1 messages · Page 1 of 1 (latest)

balmy prawn
#

.

surreal cairn
#

yo

#

wassuppp

balmy prawn
#

👋

#

Did u get the inventoryitemData script

surreal cairn
#

im doing it now

balmy prawn
#

Ok

#

Make sure there all named the same as the class

surreal cairn
#

i put it in and i took down my errors but theres still 3 left in the inventoryitemdata script

balmy prawn
#

Lemme see

surreal cairn
#

like theres errors int the code itsself

#

see

balmy prawn
#

public LootBagData lootBagData;// only put data in here if the item is a lootbag

#

Get rid of that line

#

That line is for this

#

Which i dont have the code for rn

surreal cairn
#

i got rid of it

#

still this

#

i think the last one changed tho

balmy prawn
#

Ss the error in vs

surreal cairn
#

like the location

#

ok

#

it says this is where the erroes are

#

and look at the errors

#

it sars 41 42 adn 43

balmy prawn
#

Umm

#

Please

#

Tell

#

Me

#

You

#

Put

#

The

#

Invetory item data

#

In a different script

surreal cairn
#

omg wait

#

im so stupid

#

shut up

balmy prawn
#

You are

surreal cairn
#

ik what i did wrong

#

stop

#

wait lol

#

i put two scripts into one 💀

#

lemmi fix this lmfaooo

balmy prawn
#

Just get rid of last one

#

And put the itemSlot one in a different script

surreal cairn
#

yup

#

and now i have 3 different errors

#

ugghhh life is paiinnn

balmy prawn
#

Make sure its called ItemSlot

surreal cairn
#

yeah it is

balmy prawn
#

Lemme see

surreal cairn
#

i already seperated them

balmy prawn
#

Ez

#

Go to package manager and instal input system

surreal cairn
#

kk wait a min

#

installinggg

balmy prawn
#

Ok

#

Best feeling ever

#

Reading my first comment

surreal cairn
#

lol

#

and yeah i do agree ur game looks amazing!!

#

great art style!

#

1000000%%

balmy prawn
#

Thx

#

Oop

#

Sent you my discord server for my gsmr

#

Game

#

Has some of the art

surreal cairn
#

bett

#

oh we are down to only 1 error

balmy prawn
#

Sweet what is it

surreal cairn
balmy prawn
#

Uh oh

#

Umm

#

So

#

I may or may not have forgotten a script

surreal cairn
#

what one?

balmy prawn
#

The one for ground item

surreal cairn
#

its not in the thing u sent me

balmy prawn
#

No, ill rescript it for you

surreal cairn
#

kk

balmy prawn
#

I remember it it’s fairly simple

surreal cairn
#

k

balmy prawn
#

Alot of math but i will have to do it tmrw

#

What time is it for you rn

surreal cairn
#

probs the same as u

balmy prawn
#

12:03

surreal cairn
#

12:03?

#

yup

balmy prawn
#

Cool

surreal cairn
#

pennsylvania by chance?

balmy prawn
#

Ny

surreal cairn
#

LUCKKYY

balmy prawn
#

But in florida for vacation

surreal cairn
#

near the city/

balmy prawn
#

Li

surreal cairn
#

li?

balmy prawn
#

Long island

surreal cairn
#

oh cool

#

how abt in ny

balmy prawn
#

Yeah its pretty nicr

surreal cairn
#

u close to nyc where u live?

balmy prawn
#

I dont like the cotty

#

City

#

Its a hour away

surreal cairn
#

I loveee the city

#

oh nice

#

im pretty close to philidelhpia

balmy prawn
#

Some places are nice in the city

balmy prawn
surreal cairn
#

no

#

lol

balmy prawn
#

Im going to my farm in Pennsylvania

surreal cairn
#

very nice neighborhood

#

oh nice

balmy prawn
#

The day after i get back from florida 😩

#

I really dont wanna go

surreal cairn
#

im in bucks county if you've ever heard of it

balmy prawn
#

I wanna just add multiplayer to my game

surreal cairn
#

lol

#

that'd be cool

balmy prawn
#

Is it by a town with a big bridge

#

Summit fall

surreal cairn
#

idk

balmy prawn
#

Missing namespace GroundItem

#

Aka it cant find the script “GroundItem”

surreal cairn
#

yeah

#

so i need a script for the ground item

balmy prawn
#

Also you see public class class : MonoBehavior

#

MonoMehavior means it derives from a object

#

Aka its able to go on object in the hierarchy

#

If it doesn’t have mono behavior

#

Usually a mono behavior inherits functionality’s from it

surreal cairn
#

which the object in the hierarchy is where the item lays

balmy prawn
#

Wym what item

surreal cairn
#

ground item

balmy prawn
#

Oh on a item

surreal cairn
#

yeh

balmy prawn
#

Any item

surreal cairn
#

yeah

balmy prawn
#

It has the GroundItem script on it

#

Therefore if a player steps on it it gets added to the inventory

#

Also

#

By chance

surreal cairn
#

how do i get it

balmy prawn
#

Get what

surreal cairn
#

the loot bag lol

#

oh nvm

balmy prawn
#

Wym how do u get it lmao

#

Its mine

surreal cairn
#

i thought u said use the loot bag

#

mb mb

#

nvm nvm

#

aaaaaa

#

aaaaaaaaaaaaaaaaaa

#

lol

balmy prawn
#

I was just giving an example of a item

surreal cairn
#

i read it wrong

#

yeah i see

balmy prawn
#

Alr but fr igtg soon

#

But

#

By chance

#

Do u have player movement setup already

surreal cairn
#

yeah

#

and player animation

balmy prawn
#

Omg thank god

surreal cairn
#

TADAAAA

balmy prawn
#

Oh thats ur game!

#

Didnt even know i commented on your project

surreal cairn
#

yeah

#

ayy

#

well sorry to break it to yah

#

but i got all the textures becides my character from the unity assets store

#

x(

balmy prawn
#

Alr well

#

Well add all the scripts I gave you into the game

#

And tmrw well set them up otay?

surreal cairn
#

yeah of course!

#

sounds get to me!

#

so ill ttyt?

balmy prawn
#

Im going to 🛌

surreal cairn
#

same

#

ttyt mean talk to u tomorrow

#

so yeah

#

imma gonna head to bed

#

gnight bro ty for the help so farrr

balmy prawn
#

Np

balmy prawn
#

@surreal cairn

#

Im making the GroundItem script rn 4u

balmy prawn
surreal cairn
#

yoooo

#

hey

#

u alive

balmy prawn
#

Yes

#

Heres the updated code

#

GroundItem script is at the bottom

surreal cairn
#

okayyy