Home Help and Tutorials
Welcome to the new Diaspora forums, please let us know if you see anything broken! Notice: Some users may need to reupload their avatars due to an issue during forum setup!

Models of the Asteroids and Crystals

SuperbrainSuperbrain Registered Posts: 4
edited July 2014 in Help and Tutorials #1
Hi,
I want to Write a little E2 to Scan for Asteroids and Crystals but i Need the Models of the Crystals and Asteroids to finish them.
is a list of the Models avaible or not?

Comments

  • LtBrandonLtBrandon Registered, Administrator Posts: 507
    It would probably be better to use the class instead of the models for performance reasons and future updates. You can get both the model and class by looking at an entity, the information will show up on the right side of your screen where it tells you who owns the entity. I don't currently have gmod open, but if you really need to get the full model path for some reason this should work:
    @inputs Entity:entity
    @outputs Model:string
    @trigger all
    
    Model = Entity:model()
    

    If you give this an entity input it should output the model of the entity.
    This is a block of text that can be added to posts you make. There is a 255 character limit.

    Lλmbdλ: donations for coding the space future of diaspora :>

    Get your extra long EVE trial here!

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file