Alright. Here is my problem. I have a trigger that makes a player warp his scale via a looping thread. I have another trigger that make the player normal size again, however, the first trigger uses while(isAlive local.player), and because of this, if the player is still alive while hitting the 2nd trigger, it won't stop his scale warping. What I want to do instead is to kill that looping thread when he touches the 2nd trigger so that he becomes a normal size again.
This is a difficult task and have gotten close but still no 100% solution. Anyone know how this could be done?
Killing a Looping Thread
Moderator: Moderators
- MPowell1944
- Moderator
- Posts: 287
- Joined: Thu Jan 09, 2003 7:06 am
- Location: Woodstock, GA
- Contact:
use maybe
-------------
then in your warp trigger put
then in the normalise trigger put
Code: Select all
while(isalive local.player || local.player.becomenormal ==0)
{
//\/\/\/\/\/\/\/
then in your warp trigger put
Code: Select all
local.player.becomenormal =0
Code: Select all
local.player.becomenormal =1
-
Green Beret
- Major General
- Posts: 746
- Joined: Mon Apr 19, 2004 12:21 pm
- Contact:
- MPowell1944
- Moderator
- Posts: 287
- Joined: Thu Jan 09, 2003 7:06 am
- Location: Woodstock, GA
- Contact:
- MPowell1944
- Moderator
- Posts: 287
- Joined: Thu Jan 09, 2003 7:06 am
- Location: Woodstock, GA
- Contact:

