Pondaman Posted February 10, 2009 Posted February 10, 2009 I just can't get this script to work as I want it to.It is ment for the player to gain a perk when the player picks up an item. scn PDB01SCRIPT BEGIN OnAdd player AddPerk ChildAtHeart ShowMessage PDMON01 END BEGIN OnDrop player RemovePerk ChildAtHeart ShowMessage PDMOFF01 END The message displais as it should, both on and off, but the AddPerk and RemovePerk lines doesn't do anything. As far as I can tell that is. Does anyone know what's wrong?
Chambermade Posted February 10, 2009 Posted February 10, 2009 Try the following: BEGIN OnAdd player Player.AddPerk ChildAtHeart ShowMessage PDMON01END BEGIN OnDrop player Player.RemovePerk ChildAtHeart ShowMessage PDMOFF01END
Pondaman Posted February 10, 2009 Author Posted February 10, 2009 Yeah, that did the trick. Thank you! :D
Recommended Posts
Archived
This topic is now archived and is closed to further replies.