enriel
Big L
Is there a way to make the delay on players abit lower? So If I push a player it might take now 2s, I want to reduce it to 1s, is it possible?
TFS 0.2.5 (I think avesta too).Okey, thanks slawkens...
And... how can I change the Pushing Delay in an Avesta or TFS 0.2?
if(Creature* movingCreature = thing->getCreature())
change 2000 (2 seconds) to your time and compile or... (add it as option in config.lua, TFS 0.3 code)SchedulerTask* task = createSchedulerTask(2000,
g_config.getNumber(ConfigManager::PUSH_CREATURE_DELAY)
m_isLoaded = true;
m_confInteger[PUSH_CREATURE_DELAY] = getGlobalNumber("pushCreatureDelay", 2 * 1000);
m_confNumber[PUSH_CREATURE_DELAY] = getGlobalNumber("pushCreatureDelay", 2 * 1000);
LAST_INTEGER_CONFIG
LAST_NUMBER_CONFIG
PUSH_CREATURE_DELAY,
pushCreatureDelay = 2 * 1000
m_confInteger[PUSH_CREATURE_DELAY] = getGlobalNumber("pushCreatureDelay", 2 * 1000);
m_confInteger[PUSH_CREATURE_DELAY] = getGlobalNumber(L, "pushCreatureDelay", 2 * 1000);