Changes to /npc
Posted: Sat May 02, 2009 11:38 am
I sincerely doubt that everyone is always going to remember to reset the npcs, even if they should be able to. Perhaps there's a way to program RPMod to automatically reset NPC settings after a certain length of time, unless explicitly stated otherwise. For example:
By default, NPCs will stay in a frozen state for 20 minutes (note: 20 minutes is an arbitrary length of time).
/npc freeze 1
/npc spawn kyle kylebot red kyle
These two commands will freeze the NPCs, then spawn a frozen Kyle. If left unchecked, the server will be reset to /npc freeze 0 in 20 minutes.
/npc spawn kyle kylebot red kyle 1
Where the "1" value at the end controls a permanent frozen state. Based on this, the new NPC command values would be spelled out as:
/npc spawn [vehicle] <type> [targetname] [team] [model] [frozen] [X Y Z YAW]
By default, NPCs will stay in a frozen state for 20 minutes (note: 20 minutes is an arbitrary length of time).
/npc freeze 1
/npc spawn kyle kylebot red kyle
These two commands will freeze the NPCs, then spawn a frozen Kyle. If left unchecked, the server will be reset to /npc freeze 0 in 20 minutes.
/npc spawn kyle kylebot red kyle 1
Where the "1" value at the end controls a permanent frozen state. Based on this, the new NPC command values would be spelled out as:
/npc spawn [vehicle] <type> [targetname] [team] [model] [frozen] [X Y Z YAW]