bWolfie 139 Posted July 11, 2016 Example: I want the variable L_CanTalk to be placed on the character Test Character. by using a script. E.g. an NPC GMs can use to set the variable to a character of their choice. Is this possible? Quote Share this post Link to post Share on other sites
0 Alayne 99 Posted July 12, 2016 Yep use these command. Just keep in mind to check that attchrid(char_rid) returns 1 to prevent errors if the player is offline. Quote Share this post Link to post Share on other sites
0 Garr 117 Posted July 11, 2016 You have @set/#set. Why'd you need an NPC? Quote Share this post Link to post Share on other sites
0 bWolfie 139 Posted July 11, 2016 Hm it's okay I think I found it. detachrid and attachrid Quote Share this post Link to post Share on other sites
0 bWolfie 139 Posted July 12, 2016 Yep use these command. Just keep in mind to check that attchrid(char_rid) returns 1 to prevent errors if the player is offline. Yep thanks for that. I made sure to put an 'isloggedin' check before it can be used. Quote Share this post Link to post Share on other sites
Example:
I want the variable L_CanTalk to be placed on the character Test Character. by using a script.
E.g. an NPC GMs can use to set the variable to a character of their choice.
Is this possible?
Share this post
Link to post
Share on other sites