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.

Scripting a placeable?

Page: 1 of 1
 Canderis
10-21-2008, 4:39 PM
#1
Alright i read the tuts on scripting but one thing is still confusing me. How do i specify witch module i want this placeable in?
 Stream
10-21-2008, 4:46 PM
#2
It will only work in the module the PC is currently residing in.

--Stream
 Canderis
10-22-2008, 5:29 PM
#3
What does that mean?
 Stream
10-23-2008, 1:32 AM
#4
It means that whatever the module that the script is fired in, is the module the placeable will be spawned.

--Stream
 Canderis
10-23-2008, 4:22 PM
#5
Oh. Ok. How would i set another module for it to spawn in? Like i want it to be triggerd from perogis but i want it to show up on the ebon hawk. How can i do that?
 Det. Bart Lasiter
10-23-2008, 8:38 PM
#6
create a global variable, set it when you want the placeable to show up, then add/modify the onload script for the module you want it to show up in to check for the global and spawn the placeable when the global for it is set.
Page: 1 of 1