• 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!

C++ Semi-Aggressive Monster

Fischturd

Member
Joined
Jan 30, 2023
Messages
26
Reaction score
5
GitHub
Fischturd
Hey all,
I just introduced this script: Passive Monsters (Attack when attacked) (https://otland.net/threads/passive-monsters-attack-when-attacked.232475/)
I got this working in TFS 1.4, however I want to see if anybody can give me some input on taking this a step further

I would like to create a flag for monsters on xml as well that "AttackWhenClose" so if you stand within lets say like 2 or 3 squares from a monster it will attack you, but if you don't stand that close it will leave you alone (unless attacked)

I tried to create a new AttackWhenClose aspect in C++... I never got it to compile correctly, C++ is not my strong suite... so any attempts at this will be greatly appreciated!
 
Back
Top