
11 posts
joined
#1
Trigger Help
How can I write a trigger that allows people to repick in my rpg, but if they try to repick again it doesn't allow it?

1,418 posts
Here
joined
#2
have a boolean for each player called 'repicked(then the player number)' which have a value of false.
when the player types -repick or however you do it, set their repick var to true.
for the triggers condition, you say 'repick(player num of player) equal to false'

11 posts
joined
#3
PurplePoothave a boolean for each player called 'repicked(then the player number)' which have a value of false.
when the player types -repick or however you do it, set their repick var to true.
for the triggers condition, you say 'repick(player num of player) equal to false'
sorry can u write it how i could do it in the WE editor im newb at finding triggers
Edit: Nvm Thanks I got it!

372 posts
joined
#4
Variable usedRepick Boolean Array
Events:Player - Player <1 to 12> (Red) types a chat message containing -repick as An exact match
ConditionsRepick[(Player number of (Triggering player))] Equal to False
ActionsSet Repick[(Player number of (Triggering player))] = True
and your other actions....