Author Topic:  Context [player] [killer]  (Read 465 times)

0 Members and 1 Guest are viewing this topic.

LB

  • Member
  • ***
  • Posts: 199
  • Founder of Catsbury and Creditland
  • Awards Members who have unlocked the robotic avatar 1 year on site+100 posts
    • View Profile
    • Awards
  • Xbox: Liam Bradbury
Context [player] [killer]
« on: January 29, 2017, 02:40:26 PM »
So I've been trying to implement the Context [player] [killer] command into my script for whenever someone dies, the killer will earn x amount of Bolts (the currency used in my world) depending on their kill streak. I attached the script to the Player Dies event script and nothing worked at all.

Is this command bugged in any way because I have no idea how to work it.

Craig

  • Developer
  • Extreme Member
  • ******
  • Posts: 6497
  • Dig Deep
  • Awards Developer 4 years on site+1000 posts 3 years on site+600 posts 2 years on site+300 posts Was in the top 10 of the forum stats page as of 4/12/15 Members who have unlocked the robotic avatar 1 year on site+100 posts Day 1 w/25+ posts (4/12/13)
    • View Profile
    • Twitter
    • Awards
Re: Context [player] [killer]
« Reply #1 on: February 03, 2017, 05:48:02 PM »
I can't test it here atm because I have no multiplayer.

Platinum Dryym

  • Supreme Member
  • *****
  • Posts: 4163
  • What's yours is mine. ~TM's Resident Master Thief~
  • Awards Members who have unlocked the robotic avatar Awarded to exemplary forum members 2 years on site+300 posts 3 years on site+600 posts Site art contributions/TPs in-game/Contest winners 1 year on site+100 posts
    • View Profile
    • Awards
  • Xbox: dryym
Re: Context [player] [killer]
« Reply #2 on: February 03, 2017, 08:18:53 PM »
I can't test it here atm because I have no multiplayer.

Are you unable to test it on local 360 version, Or make a simulated second player that kills you?

Creator of the term "Deathmine "
Jared [19|Oct 07:12 PM]: "It changes everything" Dryym

Craig

  • Developer
  • Extreme Member
  • ******
  • Posts: 6497
  • Dig Deep
  • Awards Developer 4 years on site+1000 posts 3 years on site+600 posts 2 years on site+300 posts Was in the top 10 of the forum stats page as of 4/12/15 Members who have unlocked the robotic avatar 1 year on site+100 posts Day 1 w/25+ posts (4/12/13)
    • View Profile
    • Twitter
    • Awards
Re: Context [player] [killer]
« Reply #3 on: February 03, 2017, 11:04:54 PM »
Yes but I lose up to an hour doing so. Can anybody else confirm if it's not working?

.ok

  • Supreme Member
  • *****
  • Posts: 2205
  • Awards Site art contributions/TPs in-game/Contest winners 4 years on site+1000 posts Members who have unlocked the robotic avatar Donated a giveaway prize. (Must be a prize of cash value.) 3 years on site+600 posts 2 years on site+300 posts Week 1 members w/25+ posts (4/13/13-4/20/13) 1 year on site+100 posts
    • View Profile
    • Awards
Re: Context [player] [killer]
« Reply #4 on: February 04, 2017, 03:51:35 AM »
idk what youre looking to do exactly,but as far as the script working when you kill someone,i tied this

to a mob spawner on a mob spawner,and it worked for me




LB

  • Member
  • ***
  • Posts: 199
  • Founder of Catsbury and Creditland
  • Awards Members who have unlocked the robotic avatar 1 year on site+100 posts
    • View Profile
    • Awards
  • Xbox: Liam Bradbury
Re: Context [player] [killer]
« Reply #5 on: February 04, 2017, 08:48:53 AM »
So it works for mobs but not for other players?

crazytater94

  • Supreme Member
  • *****
  • Posts: 2556
  • Mastering TM since 2011
  • Awards Awarded to exemplary forum members Members who have unlocked the robotic avatar 3 years on site+600 posts 2 years on site+300 posts Was in the top 10 of the forum stats page as of 4/12/15 Former MotM winners Week 1 members w/25+ posts (4/13/13-4/20/13) 1 year on site+100 posts
    • View Profile
    • Awards
  • Xbox: crazytater94
  • PSN: crazytater94 (Inactive)
  • Steam: crazytater94
Re: Context [player] [killer]
« Reply #6 on: February 05, 2017, 02:04:52 AM »
Try adding that script but to the player dies event.

I only tried the killer context once, and couldn't figure it out, and decided I had more important things to do

LB

  • Member
  • ***
  • Posts: 199
  • Founder of Catsbury and Creditland
  • Awards Members who have unlocked the robotic avatar 1 year on site+100 posts
    • View Profile
    • Awards
  • Xbox: Liam Bradbury
Re: Context [player] [killer]
« Reply #7 on: February 05, 2017, 07:23:53 AM »
Try adding that script but to the player dies event.

I only tried the killer context once, and couldn't figure it out, and decided I had more important things to do

I forgot to mention that I already tried this, but still nothing worked.

Spark

  • Sr. Member
  • ****
  • Posts: 368
  • I'm an italian Guy Who likes scripting!
  • Awards 1 year on site+100 posts
    • View Profile
    • Awards
  • Xbox: ShoppingSpark3
Re: Context [player] [killer]
« Reply #8 on: February 13, 2017, 07:56:46 AM »
Bump.

I tried it and it doesn't work.

Can someone figure it out? I need to know if it works and how it works

Thanks
Amazing Scripter!