Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-16-2012, 06:00 AM
samich samich is offline
Registered User
samich's Avatar
Join Date: Jan 2007
Posts: 59
samich will become famous soon enough
Send a message via MSN to samich
disablepause() and enablefeatures not working properly

I've been having some difficulty getting the disablepause() or enablefeatures() commands to properly eliminate the ability to pause for players.

First of all, is disablepause() clientside? I was told it was...
Secondly, I've tried enablefeatures(allfeatures-4-2-0x200); (Trying to disable weapon menu and 'p') but it doesn't seem to work.


If someone could point me in the right direction, that'd be greatly appreciated.

I will let you also know it is being called by a joined NPC in a level.

If you guys need any other info on how I'm trying to implement it, just ask
__________________
[Graal Related Business]
Reply With Quote
  #2  
Old 02-16-2012, 06:04 AM
Tricxta Tricxta is offline
The Muffin Man
Tricxta's Avatar
Join Date: Oct 2010
Location: Australia
Posts: 563
Tricxta is a jewel in the roughTricxta is a jewel in the rough
Disblable pause is clientside.
Have you tried calling enablefeatures without going between a class? It might be something weird in the npc. Or you might have another script that is canceling the effects of your script here. Check your weapons and level npcs to make sure nothings overwriting enablefeatures. Also make sure you're doing it clientside.
Reply With Quote
  #3  
Old 02-16-2012, 06:13 AM
samich samich is offline
Registered User
samich's Avatar
Join Date: Jan 2007
Posts: 59
samich will become famous soon enough
Send a message via MSN to samich
Oh you know what, you just brought something to mind!

I believe one of our systems controlling our Player GUI might be affecting enablefeatures.

I'll take a quick look. Thanks for the fast reply by the way!
__________________
[Graal Related Business]
Reply With Quote
  #4  
Old 02-16-2012, 07:08 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Stick to just one weapon script that calls enablefeatures and showstats and you won't have any conflict issues.
__________________
Quote:
Reply With Quote
  #5  
Old 02-19-2012, 04:22 PM
samich samich is offline
Registered User
samich's Avatar
Join Date: Jan 2007
Posts: 59
samich will become famous soon enough
Send a message via MSN to samich
I found it! Someone left a random call in an old script... Very poorly implemented even. All fixed though. Gotta say, had me pulling my hair out for a few days! Looked through way more lines of code than I wanted to spend my evenings doing.
__________________
[Graal Related Business]
Reply With Quote
  #6  
Old 02-19-2012, 06:10 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by samich View Post
I found it! Someone left a random call in an old script... Very poorly implemented even. All fixed though. Gotta say, had me pulling my hair out for a few days! Looked through way more lines of code than I wanted to spend my evenings doing.
Try /scriptscan on RC next time.
__________________
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:47 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.