mirror of
https://bitbucket.org/seefoe/dsrc.git
synced 2026-07-31 01:15:55 -04:00
21 lines
643 B
Plaintext
21 lines
643 B
Plaintext
//Script to manage the Sequencer events in the station
|
|
|
|
//inlcudes
|
|
include library.utils;
|
|
include library.create;
|
|
|
|
|
|
trigger OnInitialize()
|
|
{
|
|
// make an invisible object for all future c3po comms
|
|
|
|
obj_id droidCell = getCellId(self, "cave_entrance");
|
|
location droidLoc = new location(1.5f, 10.2f, 4.3f, "poi_all_bunker_mad_bio_s01", droidCell);
|
|
// 3p0 is created and set up
|
|
obj_id droidInvis = create.object("object/tangible/npe/npe_node.iff", droidLoc);
|
|
setName(droidInvis, "C-3P0");
|
|
setObjVar(droidInvis, "convo.appearance", "object/mobile/c_3po.iff");
|
|
utils.setScriptVar(self, "objDroidInvis", droidInvis);
|
|
|
|
return SCRIPT_CONTINUE;
|
|
} |