-The Thing- [Revival]

Would you like to react to this message? Create an account in a few clicks or log in to continue.
-The Thing- [Revival]

The Thing is amongst us.

Who is online?

In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

None


[ View the whole list ]


Most users ever online was 28 on Wed Nov 07, 2012 10:33 pm

Latest topics

» Games will be running through September/December
by Rachyl Tue Sep 19, 2023 5:49 pm

» Speak out
by Rachyl Thu Sep 14, 2023 8:43 pm

» Join The Thing Revival Game!
by Rachyl Sun Oct 02, 2022 10:40 am

» CALLING ALL THING PLAYERS CALLING ALL THING PLAYERS
by Rachyl Thu May 26, 2022 2:06 am

» RETURNING PLAYERBASE COME TO THING DISCORD
by Rachyl Wed May 18, 2022 3:12 pm

» Release 0.281 to 0.286 [Overdue Update]
by Rachyl Sat Mar 12, 2022 12:18 am

» Project Showcase?
by Rachyl Sat Mar 12, 2022 12:15 am

» ERROR MESSAGE
by Rachyl Fri Mar 11, 2022 2:08 am


    How to deal with tkers proactively in the game

    willuwontu
    willuwontu
    Developer
    Developer


    Posts : 273
    Forum Points (FP) : 575
    Forum Rating (FR) : 4
    Join date : 2012-11-06

    How to deal with tkers proactively in the game Empty How to deal with tkers proactively in the game

    Post by willuwontu Sun Dec 16, 2012 5:50 am

    Vic use this code to annoy tkers and help the game not kill off new people.

    Global var
    Tkers = empty player group <player group>
    Max actions = 3 <integer>
    Actions = 0 <integer[14]>
    Tker = no unit <unit[14]>


    Trigger: Determine if tker
    Var:
    Innocent blood = 0 <integer[14]>
    Max innocents = 4 <integer>
    Tkers = empty player group <player group>


    Event: any unit dies
    Condition: triggering unit != thing
    Owner of killing unit != player 1 from thing player

    Action:
    set innocent blood[Owner of killing unit] = innocent blood[Owner of killing unit] + 1
    General If(value) then else

    If:
    Max innocents > innocent blood[Owner of killing unit]

    Then:
    Display "you have killed " + Text(innocent blood[Owner of killing unit]) + "innocent marines"
    Wait 8 game-time secs
    Display "If you kill " + Text(Max innocent - innocent blood[Owner of killing unit]) + "innocents, you will be punished!!!"
    Else:
    Add player (Owner of killing unit) to Tkers
    set tker(Owner of killing unit) = tkilling unit


    Trigger: Tker frustration
    Event: unit is issued attack
    unit is issued move
    unit is issued stop
    unit is issued hold postion
    unit is issued door lock
    unit is issued stimpack
    unit is issued activate flamethrower
    unit is issued deactivate flamethrower
    unit is issued throw grenade

    Condition:
    Triggering unit = tker[triggering player]


    Action:
    If then alse

    If:
    Max actions > actions[triggering player]

    then:
    set actions[triggering player] = actions[triggering player] + 1
    wait 20 secs
    set actions[triggering player] = actions[triggering player] - 1
    else

    while
    condition:
    Max actions <= actions[triggering player]

    actions:
    make triggering unit uncommandable

    end
    make unit commandable

      Current date/time is Fri Mar 29, 2024 3:44 pm