View Single Post
  #214    
Old January 8th, 2009 (6:13 PM). Edited January 8th, 2009 by Hyunbin.
Hyunbin's Avatar
Hyunbin Hyunbin is offline
w00t!~
     
    Join Date: Jun 2006
    Location: new york
    Age: 27
    Gender:
    Nature: Naughty
    Posts: 166
    i'm trying to write a script that will make the player talk to a npc
    first he'll walk over to the person and then i need a command that will be like an "a button" so it will start the next script that will have that npc talking to the player

    the first problem i'm having is that the "trap" doesn't work
    when i walk the player over to the spot nothing happens
    this is my script:

    Code:
    #Dynamic 0x800BF8
    
    #org @start
    checkflag 0x828
    if 0x0 goto @todesk
    if 0x1 goto @end
    end
    
    #org @todesk
    lock
    applymovement 0xFF @move
    waitmovement 0x0
    release
    end
    
    #org @move
    #raw 0x12 0x12 0x12 0x10 0x10 0x10 0x10 0x10 0x12 0x12 0x12 0xFE (3 left, 5 down, 3 left)
    
    #org @end
    release
    end
    __________________