Jump to content

Home

Script and Variable question


Seamhainn

Recommended Posts

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...