Editor and tools
|
08-10-2016, 08:40 AM
Post: #102
|
|||
|
|||
RE: Editor and tools
(08-10-2016 06:59 AM)ComradeReptiloid Wrote: All credits go to Liz Shaw user for interaction idea: Thanks for replicating what I've done. It's not 100% how I did it, but it is similar. I actually struggled to get the bartender to turn the radio off as soon as he puts the tray down, but I eventually got there. I did it by adding an extra string here: -------------------------------------------------------- -- Name: Level.FailBarmenPickTray() -- Desc: -------------------------------------------------------- function Level.FailBarmenPickTray() local actor = Level.FindActor('WR05'); if ( Actor.HasItem( actor, 'TR01' ) == true ) then Actor.DropItem( actor, Level.FindItem('TR01') ); end; if ( Level.BarmenRadio == true ) then Level.RunAnchorJob( AI.FindNPC('WR05'), 'AN01', true ); else AI.SetJob( AI.FindNPC('WR05'), 'bar_clean' ); end; Level.TrayLocked1 = false; end |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)