Blockland Files > Add-Ons
Slayer | New Bugfix Update
<< < (228/233) > >>
King Tøny:

--- Quote from: Greek2me on September 02, 2018, 02:06:30 PM ---I looked into it a little but honestly I just don't have time to work on it.

--- End quote ---

Well take your time if you can.

I know the SS medieval RP had working player persistence but they don't like to share their add-ons.
Planr:

--- Quote from: Greek2me on September 02, 2018, 02:06:30 PM ---Yeah, there's a VCE variable for it. <var:mg:teamLiving[1-6]>

So to get the number of players alive on team 1, use <var:mg:teamLiving1>

There's more VCE stuff listed in the Help tab of the GUI.

I looked into it a little but honestly I just don't have time to work on it.

--- End quote ---
Do I do that using Minigame as the target, or Self as the target? and is it ifVariable or ifValue?

also, is there a trigger event for when one team wins a round? or how can i detect through events which team wins the round

also, "onMinigameRoundEnd" and "onMinigameRoundStart" do not seem to let me do minigame events in minigames between rounds. how can i fix that? i'm trying to do:

onMinigameRoundEnd -> Self -> VCE_ifValue -> <var:mg:teamLiving1> = 0
onVariableTrue -> Minigame -> Playsound

but it doesn't work

I think it has something to do with events not working properly when the player is dead or when a round restarts (since you can't activate stuff in a minigame until 5 seconds after it starts or after 5 seconds from teleporting somewhere)
Greek2me:
No, I think it might be a problem with the way that onVariableTrue detects the minigame. Try including all players' bricks in the minigame?
Planr:
is there a way to make it so that when players on a specific team die, it plays a client sound for them? i want to have onMinigameDeath(team1) or something like that for a trigger so it only triggers if the player who dies is on team 1.
Greek2me:

--- Quote from: Planr on September 03, 2018, 09:29:54 PM ---is there a way to make it so that when players on a specific team die, it plays a client sound for them? i want to have onMinigameDeath(team1) or something like that for a trigger so it only triggers if the player who dies is on team 1.

--- End quote ---

Maybe something like this:

onMinigameDeath -> Client -> VCE_IfValue <var:cl:team> == [team #]
onVariableTrue -> Client -> Playsound

I don't remember the exact VCE events but it should be similar to the above.
Navigation
Message Index
Next page
Previous page

Go to full version