Jump to content

Home

scripting a teleport


lukeskywalker1

Recommended Posts

ok, i know how to make a normal teleport. But i want to know how to make one with a script. You see, i want to make an NPC teleport to another area of the map... heres the script i made:

 

 

//(BHVD)

rem ( "teleports galak" );

 

affect ( "galaktele", /*@AFFECT_TYPE*/ FLUSH )

{

 

task ( "teleport" )

{

set ( /*@SET_TYPES*/ "SET_TELEPORT_DEST", "tele" );

}

 

do ( "teleport" );

}

 

 

The script runs, but galak just turns invisable... i put a ref_tag in and gave it a targetname of "tele" (tele is short for teleport)

 

anyways, can i get a little help please? Thanks!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...