ArkSeyonet
Chancho
- Joined
- Nov 11, 2008
- Messages
- 201
- Reaction score
- 11
Forgotten Server - Any Distro - I'm quite flexible
Sources/LUA
Well the whole idea behind this is I want to edit the sources, scripts, etc in order to make it as follows:
For the coding where a monster would target a player, it will check their storage value (for a quest) and if they have completed that quest, then it will not attack them.
Basically...
1. Player goes on a quest to rid the world of some boss monster. Upon completion they complete the quest and gain +1 in a storageValue
2. The orcs are thankful that he destroyed this threat to the world, and now all orcs will not attack him.
3. BUT I want to be able to turn around and
A general idea of what I want in an outline format...
I don't really care about whether the monster still follows you or not, as long as he doesn't attack you.
Sources/LUA
Well the whole idea behind this is I want to edit the sources, scripts, etc in order to make it as follows:
For the coding where a monster would target a player, it will check their storage value (for a quest) and if they have completed that quest, then it will not attack them.
Basically...
1. Player goes on a quest to rid the world of some boss monster. Upon completion they complete the quest and gain +1 in a storageValue
2. The orcs are thankful that he destroyed this threat to the world, and now all orcs will not attack him.
3. BUT I want to be able to turn around and
A general idea of what I want in an outline format...
Code:
1. OnTarget
A) If attackingMonster is an Orc
i. If playerGetStorageValue(5555) == 1 then
All Orcs will not attack
B) If attackingMonster is an Elf
i. If playerGetStorageValue(6666) == 1 then
All Elves will not attack
I don't really care about whether the monster still follows you or not, as long as he doesn't attack you.
Last edited: