|
Post by baaleos on Nov 17, 2008 9:29:55 GMT
;D oK, I don't know if anyone reads this anymore...but...
Can anyone tell me where abouts I need to edit in the Simtools Scripts, to enable the !setname command on Creatures.
It currently allows !Setname on items, but not on Creatures.
I examined the code, but the code around the setname command does not seem to have the restriction, seems to be the targetter itself, but I do not want to mess with it, incase I dmg it.
Any insight?
|
|
|
Post by FunkySwerve on Nov 19, 2008 22:46:45 GMT
In the test mod, the lines you need to modify are 2251 and 2277. They look like this:
SetLocalString(oCPC, "FKY_CHAT_COMMAND", ITEM_TARGET+COMMAND_SYMBOL + sNormalCase);//mark them for the targeter
You need to change the ITEM_TARGET const to OBJECT_TARGET in both of those lines. Don't forget to recompile all the chat scripts afterwards.
Funky
|
|
|
Post by baaleos on Nov 20, 2008 9:46:08 GMT
Cool, Thanks Funkster!!
Also, I cant remember for sure, but is the !setname command one of those commands restrictable to DM's.
Last thing I would want is for players to be able to run around naming the monsters, the names of their ex's just to kill them.
|
|
|
Post by FunkySwerve on Nov 24, 2008 21:41:09 GMT
Yes. In fky_chat_config:
const int ENABLE_PLAYER_SETNAME = FALSE;//Set this to TRUE to allow players to use the !setname command.
Funky
|
|
|
Post by mdf on Dec 1, 2008 15:06:53 GMT
Cool, ...I would want is for players to be able to run around naming the monsters, the names of their ex's just to kill them. Thats just TOO FUNNY! I need to turn that on next chance I get.
|
|