SphereCommunity
Boss System - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Submissions (/Forum-Script-Submissions)
+--- Thread: Boss System (/Thread-Boss-System)



Boss System - Staff_Stanic - 04-12-2014 12:27 AM

Very useful script to create a Boss with some guardians to protect him!
You can configure to the boss loss life when some guardian die Tongue

Example:
[Image: boss.png]

When some boss's guardian dies and the boss loss life:
[Image: boss_2.png]

When the boss summon a new guardian:
[Image: boss_3.png]

The install guide is inside the script.
Download: http://forum.spherecommunity.net/sshare.php?download=288


RE: Boss System - amonvangrell - 04-12-2014 02:32 PM

Thanks man!


RE: Boss System - Staff_Stanic - 04-15-2014 04:14 AM

Updates:

1.01:
- Just some optimizations in the system
- Changed @Death to @Destroy in events, to fix when the NPC is removed and the guardians stay alive.

1.02:
- Added anim to the Boss when some guardian die and when spawn a new guardian.
- Changed the id of the example boss to c_ettin

1.03:
- Added two custom triggers that you can use to customize your boss to do something when a new guardian is spawned and when a guardian dies. The anim added in the update 1.02 are here now.


RE: Boss System - amonvangrell - 04-15-2014 11:38 AM

I really like this man! keep it up!


RE: Boss System - htid4life - 04-16-2014 12:26 AM

very nice script nice release Smile


RE: Boss System - babazar - 04-18-2014 07:37 AM

very nice script, slight improvement could be if someone trys to kill the boss all the guardians protect the boss, Also had a couple of players testing this out and the guardians just wandered away, didnt really pick up there was a player about..


RE: Boss System - Anarch Cassius - 01-21-2017 12:31 PM

Try replacing the e_BossSettings @attack trigger with this one

Code:
ON=@Attack
IF (<SRC.TAG0.GuardianBoss>==<UID>)
return 1
ENDIF
//call guardians to attack target
OBJ=<UID>
LOCAL.TARGET=<SRC>
FORCHARS 15 //check nearby chars
    IF (<TAG0.GuardianBoss>==<OBJ>) //if they are my guardian
        IF !(<FLAGS> & statf_war) // if not in a  fight
            TIMERF 1, TRYSRC <LOCAL.TARGET> ATTACK    //attack my target
        ENDIF
    ENDIF
ENDFOR



RE: Boss System - Swiftik023 - 03-04-2018 01:20 AM

very nice


RE: Boss System - jexnico - 04-14-2019 10:29 PM

what is wrong with it?

09:04:ERROR:(boss_system.scp,99)Can't resolve <HOME>
09:04:ERROR:(boss_system.scp,99)Undefined symbol ''

IF (<HOME>)
NEW.HOME=<HOME>
IF (<HOMEDIST>)
NEW.HOMEDIST=<HOMEDIST>
NEW.MOVENEAR <UID>,<R<HOMEDIST>>
ENDIF
ENDIF


RE: Boss System - jexnico - 04-17-2019 04:22 AM

(04-14-2019 10:29 PM)jexnico Wrote:  what is wrong with it?

09:04:ERROR:(boss_system.scp,99)Can't resolve <HOME>
09:04:ERROR:(boss_system.scp,99)Undefined symbol ''

IF (<HOME>)
NEW.HOME=<HOME>
IF (<HOMEDIST>)
NEW.HOMEDIST=<HOMEDIST>
NEW.MOVENEAR <UID>,<R<HOMEDIST>>
ENDIF
ENDIF

solved Tongue

ON=@Create
HOME=<P>