-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

» YouTube
Mon Jul 17, 2017 9:05 am by Datasick

» Project Showcase?
Mon Jul 17, 2017 9:00 am by Datasick

» Photography
Mon Jul 17, 2017 8:52 am by Datasick

» Wandering Critters to serve as food for the Thing.
Sun Jul 16, 2017 10:06 am by Probe

» Major Updates?
Sun Jul 09, 2017 10:40 pm by Durzan

» Release 0.281 to 0.286 [Overdue Update]
Thu Jun 01, 2017 1:28 pm by Durzan

» It would be nice if we had people starting lobbies
Sun May 14, 2017 11:23 am by Durzan

» ERROR MESSAGE
Wed Feb 15, 2017 2:06 pm by Durzan


    How to deal with tkers proactively in the game

    Share
    avatar
    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

    Post by willuwontu on 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 Thu Aug 17, 2017 9:43 pm