Seamhainn Posted January 6, 2008 Share Posted January 6, 2008 Hello! Two quick questions. What does this script do: void main() { SignalEvent(OBJECT_SELF, EventUserDefined(10)); } What does the variable TAR_DUELINPROGRESS do? Thanks for any help! Link to comment Share on other sites More sharing options...
Stream Posted January 6, 2008 Share Posted January 6, 2008 What does this script do: void main() { SignalEvent(OBJECT_SELF, EventUserDefined(10)); } It's pretty hard to tell without knowing where the script came from, did it come from a dialog and if so who's was it. What does the variable TAR_DUELINPROGRESS do? I guess it would do what it says, checks to see if there's a duel in progress on Taris. Why do you want to know anyway? is there something you need to alter? If so provide more information, it makes it easier to help. --Stream Link to comment Share on other sites More sharing options...
Seamhainn Posted January 6, 2008 Author Share Posted January 6, 2008 The script makes Duncan run and then walk away after his conversation on Manaan. I want a conditional for Duncan's spawning on Manaan. That is if the pc never entered the dueling arena it wouldn't make much sence to spawn Duncan. Thanks and take care Link to comment Share on other sites More sharing options...
stoffe Posted January 6, 2008 Share Posted January 6, 2008 Hello! Two quick questions. What does this script do: void main() { SignalEvent(OBJECT_SELF, EventUserDefined(10)); } It triggers the UserDefined event of the object running your script. This runs its assigned OnUserDefined script and making the GetUserDefinedEventNumber() function in that script return the value 10. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.