|
Post by gunwolf365 on Jul 6, 2015 3:44:47 GMT
I'm editing the post I originally made because this is more important as of right now.
Edit:Figured out what was wrong with the roles. Forgot Commas. :/ P.S. I did not explain the weapon problems either.
I noticed that when you create a weapon, the onequip/onunequip doesn't seem to trigger properly. Say if I was to do this...
Energy_Fist = create_weapon("Energy Fist", "", "", "", 0, 0, 0, 0, 0, "", 0, 0, 0, 0, 0, 0, 0, 10, 1, 15, "with a charged fist, hits", 'punch.wav', 18, 12, 12, null, null, 0, 0, "a", "You can charge your fists with energy, making your punches more powerful.", "", "", 0, "", "", "", "", printto(hearers(20,customrole2),"charges their fist with energy");, "", 'weffects.dmi', null, 0, 0, 0, list(), 0, null, null, 0, 50, 100, 8);
It seems that when you have it like that, it does the print command on weapon creation, rather than when the weapon is equipped. I've gotta be doing something wrong...right?
|
|