Paste #33942: Trying to save NPC ID

Date: 2016/06/01 19:55:55 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8


# I want to create a cell mate friend (he will possibly be body guard too)
        - create player "Peon" <player.location> save:<player.name>_friend
        # the save saves fine

        #when I use this, it gives me Peon
        - narrate <entry[<player.name>_friend].name>

        #I want to get and store temporarily the npc id LIKE: <entry[<player.name>_friend].name>