demotry241
Don't Ever Categorize Yourself.
- Reaction score
- 105
Code:
Last Region Check
Events
Player - Player 1 (Red) types a chat message containing -LastRegion as An exact match
Player - Player 2 (Blue) types a chat message containing -LastRegion as An exact match
Player - Player 3 (Teal) types a chat message containing -LastRegion as An exact match
Player - Player 4 (Purple) types a chat message containing -LastRegion as An exact match
Player - Player 5 (Yellow) types a chat message containing -LastRegion as An exact match
Player - Player 6 (Orange) types a chat message containing -LastRegion as An exact match
Player - Player 7 (Green) types a chat message containing -LastRegion as An exact match
Player - Player 8 (Pink) types a chat message containing -LastRegion as An exact match
Player - Player 9 (Gray) types a chat message containing -LastRegion as An exact match
Player - Player 10 (Light Blue) types a chat message containing -LastRegion as An exact match
Player - Player 11 (Dark Green) types a chat message containing -LastRegion as An exact match
Player - Player 12 (Brown) types a chat message containing -LastRegion as An exact match
Conditions
Actions
Set Temp_Player_Group = (Player group((Triggering player)))
Game - Display to Temp_Player_Group the text: (Last Region is: + Last_Region[(Player number of (Triggering player))])
Custom script: call DestroyForce(udg_Temp_Player_Group)
now I use leak checker to check if there's a leak, and still, it leaks.
the player group leak.
now am I using the right custom script to remove this leak?