Skip to content

How to use functions that require a SteamID? #7

@RicochetYT

Description

@RicochetYT

Hello there! Cool project here.
I have never used nodeJS before, but managed to cobble a script together, but I'm stuck on one final thing that may or may not be very simple, but I have no clue!
If I wanted to get use GetFriendPersonaName(steamID) on a manually inserted SteamID, what would I do in order to do that?

steamID = ???
personaName = SteamWorks.SteamFriends.GetFriendPersonaName(steamID);

I'm not sure what to put for steamID. I got the object name(?) for SteamWorks.SteamUser.GetSteamID(); and that turned out to be:

_exports_CSteamID {}

Which did not help at all on what I should do for the steamID.
Once again, sorry if this is stupid, but I have never used nodeJS or JS itself before, so I am just going off of guesswork and documentation, as well as prior knowledge from other languages for a project of my own.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions