
help binding?
-
- Vertex
- Posts: 7
- Joined: Mon Mar 14, 2011 1:55 pm
- Contact:
Re: help binding?
Sorry to bump such an old thread but I'm having the same problem. None of those command you guys listed above work. Can anyone give the right syntax? I keep getting the same error the OP has when I try to bind relationship's for npc's. 

Re: help binding?
i dont think its possible to bind setrelationship at all (atleats not directly), because binds cant have quotations twice and setrelationship already has quotations at "player D_LI".
-
- Vertex
- Posts: 7
- Joined: Mon Mar 14, 2011 1:55 pm
- Contact:
Re: help binding?
Andrax17 wrote:i dont think its possible to bind setrelationship at all (atleats not directly), because binds cant have quotations twice and setrelationship already has quotations at "player D_LI".
But the strange thing is it is possible because I've done it before in the past! I remember finding a way to easily press a key to activate my own custom made relationships via console at will like 3-4 years ago on Obsidian. Was really fun.
I forgot that special trick though, there's gotta be a way.
Re: help binding?
You could try making it an alias and then bind the alias, or put the codes in cfgs and then bind exec cfgname.
-
- Vertex
- Posts: 7
- Joined: Mon Mar 14, 2011 1:55 pm
- Contact:
Re: help binding?
W0rf0x wrote:You could try making it an alias and then bind the alias, or put the codes in cfgs and then bind exec cfgname.
How would I do that?
Also, the code I'm trying to use as an example is:
bind t "ent_fire npc_combine_s setrelationship "player d_HT 99"
Which obviously doesn't work via Console as it gives me the error displayed in the OP.
Re: help binding?
bind t "ent_fire npc_combine_s setrelationship player d_HT 99"
alias playerrelationship "ent_fire npc_combine_s setrelationship player d_HT 99"
bind t playerrelationship
or something like that
alias playerrelationship "ent_fire npc_combine_s setrelationship player d_HT 99"
bind t playerrelationship
or something like that

-
- Vertex
- Posts: 7
- Joined: Mon Mar 14, 2011 1:55 pm
- Contact:
Re: help binding?
Neico wrote:bind t "ent_fire npc_combine_s setrelationship player d_HT 99"
alias playerrelationship "ent_fire npc_combine_s setrelationship player d_HT 99"
bind t playerrelationship
or something like that
No dice, gives me this error below:
___________________
Can't parse relationship info (player) - Expecting 'name [D_HT, D_FR, D_LI, D_NU] [1-99]'
___________________
Any ideas?

Re: help binding?
alias playerrelationship ent_fire npc_combine_s setrelationship "player d_HT 99"
try that... if this doesn't work then make a new feature request on the bugtracker and me or MMa will look what we can do about it~
try that... if this doesn't work then make a new feature request on the bugtracker and me or MMa will look what we can do about it~

-
- Vertex
- Posts: 7
- Joined: Mon Mar 14, 2011 1:55 pm
- Contact:
Re: help binding?
Neico wrote:alias playerrelationship ent_fire npc_combine_s setrelationship "player d_HT 99"
try that... if this doesn't work then make a new feature request on the bugtracker and me or MMa will look what we can do about it~
But even if that does work, how can I bind it to a key?
Re: help binding?
By binding the name of the alias, in this case "playerrelationship."
-
- Vertex
- Posts: 7
- Joined: Mon Mar 14, 2011 1:55 pm
- Contact:
Re: help binding?
W0rf0x wrote:By binding the name of the alias, in this case "playerrelationship."
Yeah, doesn't work. Keeps giving me this error:
Can't parse relationship info (player) - Expecting 'name [D_HT, D_FR, D_LI, D_NU] [1-99]'
Re: help binding?
Then you have to go the more complicated way of putting each code in a cfg and then bind exec cfgname.
-
- Vertex
- Posts: 7
- Joined: Mon Mar 14, 2011 1:55 pm
- Contact:
Re: help binding?
W0rf0x wrote:Then you have to go the more complicated way of putting each code in a cfg and then bind exec cfgname.
Can you teach me how to do that, would be nice of you.
