Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Script and Variable question

Page: 1 of 1
 Seamhainn
01-06-2008, 3:33 AM
#1
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!
 Stream
01-06-2008, 7:39 AM
#2
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
 Seamhainn
01-06-2008, 8:21 AM
#3
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
 stoffe
01-06-2008, 8:56 AM
#4
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.
Page: 1 of 1