Hell Templar Posted December 3, 2005 Share Posted December 3, 2005 Just two simple questions, first of all is there I can have the pc teleportd to an area by talkingto an NPC, and choosing a specific topic, and I don't mean the travel function... Also I need help with a script that would teleport a PC to an area when they click on a row boat. Link to comment Share on other sites More sharing options...
Marxist ßastard Posted December 3, 2005 Share Posted December 3, 2005 XPOS, YPOS, ZPOS, and ZROT are placeholders. Replace them as necessary.In the dialog results box of the option that teleports the player... short btn ; This next line may or may not make sense. set btn to ( getbuttonpressed + 1 ) if ( menumode < 1 ) if ( onactivate ) messagebox "You see a map inside the boat. A section seems to detail a small grotto to the southeast -- although the cavern itself appears to have been obscured deliberately, you think that you can make out a crude path to it, weaving between several dangerous rock spires. Attempt to travel there?" "Yes" "No" endif endif if ( btn == 1 ) player->positioncell XPOS YPOS ZPOS ZROT "OMG MIEY SUPAR SECRATE DUNGIN!!!11!" ; The next ten lines are strictly optional. elseif ( btn == 2 ) if ( player->getintelligence > 60 ) messagebox "Although you doubt that you will ever change your mind, you commit the map to memory." elseif ( player->getluck > 45 ) messagebox "You don't believe you will be able to remember all the details of the map, but regardless, you are quite certain that it will be there when (and if) you return." elseif ( player->getlevel > 10 ) messagebox "A strange sense of urgency sweeps over you." else messagebox "You have a peculiar feeling for a moment, then it passes." endif endif Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.