What's wrong with it?
This line determines how long the trigger is disabled for:
Code:
AddSchedule("Reenable Scoring", 1, reallowscoring)
I'd change it to:
Code:
AddSchedule("reenablescoring", self.disabletime, self.reallowscoring)
That will both allow you to set a different disable time per-trigger and call the right function, since reallowscoring is a member function of the basescoretrigger class.
And then change
Code:
basescoretrigger = info_ff_script:new({
canscore = true,
score = 0,
})
to
Code:
basescoretrigger = trigger_ff_script:new({
canscore = true,
score = 0,
disabletime = 10
})
Do you want it to only disable for the player that touched it or for all players everytime someone touches it?