View Single Post
  #1  
Old 12-12-2014, 04:19 PM
khortez khortez is offline
PrototypeX
khortez's Avatar
Join Date: Dec 2008
Posts: 91
khortez will become famous soon enough
referencing weapon objects

i wanted to trigger an event from another weapon. and whenever i reference the weapon, for whatever reason this works:

PHP Code:
 temp.test "Personal/khortez/Error_Report".DisplayMSG("test3"); 

but this doesn't?

PHP Code:
  temp.npc "personal/khortez/Error_Report";
  
temp.MSG temp.npc.DisplayMSG("test"); 

and this doesn't work either:

PHP Code:
temp.npc findweapon("personal/khortez/Error_Report");
temp.MSG temp.npc.DisplayMSG("test"); 
Do i have to type out the weapons name every time or is there anything easier?
Reply With Quote