why wont spells work
Posted: December 25th, 2010, 2:50 pm
I tried to use a spell off the net and can't get it to work in rpg.
put this into a .cfg file with the same name as the saved game in this case fog test.cfg and yes it's not fog test.cfg.tst
spawnplayer = [
r_additem flashlight
]
spawn_flashlight = [
r_type $ENT_ITEM
r_icon flashlight
r_description "A flashlight for searching with."
r_item_slots $SLOT_RHAND
r_addowneffect $STATUS_LIGHT 35 1000000000
r_interact [
r_select $rpginteract
r_pickup $rpgself
]
]
it got rid of the basic items but wont add the flashlight
put this into a .cfg file with the same name as the saved game in this case fog test.cfg and yes it's not fog test.cfg.tst
spawnplayer = [
r_additem flashlight
]
spawn_flashlight = [
r_type $ENT_ITEM
r_icon flashlight
r_description "A flashlight for searching with."
r_item_slots $SLOT_RHAND
r_addowneffect $STATUS_LIGHT 35 1000000000
r_interact [
r_select $rpginteract
r_pickup $rpgself
]
]
it got rid of the basic items but wont add the flashlight