• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[TFS 1.3][C++/Creaturescripts] Monsters - Non Agro.

Lay

TFS 1.2
Joined
Dec 7, 2012
Messages
67
Solutions
9
Reaction score
29
Hey,
Looking for something like if monster have: nonAgro="1" he will not attack players, if someone hit him then will do it, obviously if players stop attacks then monster after 60 sec return to nonAgro mode.
 
seems that you don't read the thread of the passive monsters
go and read, ninja told about the changes
 
Code:
@@ -145,6 +145,7 @@ class MonsterType
+        bool isPassive = true;
should be changed to "false" because all monsters will be passive (bosses aswell)...
 
Hey,
Looking for something like if monster have: nonAgro="1" he will not attack players, if someone hit him then will do it, obviously if players stop attacks then monster after 60 sec return to nonAgro mode.
monsterType->isPassive to monsterType->info.isPassive
mType->isPassive to mType->info.isPassive
in 1.3 TFS you need add info. after monsterType or mType
 
Back
Top