Ryan

Activator Speed Issue

5 posts in this topic

Afternoon Raid, I'm here asking for some help on something. I added a trigger_multiple in the Activator area and added a speed script to my .GSC, the speed works good and there aren't any problems there. But, the problem is that when the Activator is teleported to the endrooms he still has increased speed and was wanting to know how to make the activators speed go back to normal when he is teleported. Pixel tried helping me the other day but ended up getting a script error when the map was loaded, it said  undefined is not an object, link here: http://gyazo.com/d9ec2a0db55eeb4fb70ec265cdaf7645 These were the lines that were added in one of the endroom scripts to test but got the error that was shown in the link (just the first and last lines were added): 

trigger = getent("speed","targetname"); 

level.knife_trig = getEnt( "knife1", "targetname");
jump = getEnt( "knife2", "targetname" );

trigger delete();

Though when I remove those lines, I don't receive the error, any help will be appreciated!  :)

 

Thanks, Ryan

0

Share this post


Link to post
Share on other sites

Add a speed script code in those room(s) for the activator.

I have speed in the acti room, I want to get rid of it in the end rooms not give it to the acti ;)

0

Share this post


Link to post
Share on other sites

Just add this line where you give the jumper and activator weapons

 

player setMoveSpeedScale(1);

 

For the jumper ^

 

 

level.activ setMoveSpeedScale(1);

 

For the Activator ^

 

 

Or whatever the hell FNRP's speed is :dumb:

0

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now