Well, hi all.
New to Dead Souls, but have been doing C(++) for 3 or so years now. Anyway, I'm trying to create a dead NPC, here's what I've done thus far:
create npc start_deceased
modify npc SetHealthPoints(0) {Is that the correct way to do this?}
However, doing the above returns this error message:
*Bad argument 1 to call_other()
Expected: string or array or object Got: 0.
Object: /domains/default/npc/start_mother_deceased#30 (/lib/combat.c) at line
500
'<fake>' at /secure/obj/staff#16 (/<driver>) at line 0
'eventGetArray' at /secure/obj/staff#16 (/secure/modules/generic.c) at line 158
'eventResumeArrayMod' at /secure/obj/staff#16 (/secure/modules/create.c) at
line 709
'reload' at /secure/sefun/sefun at /secure/sefun/reload.c:87
'unguarded' at /secure/sefun/sefun at /secure/sefun/security.c:100
'apply_unguarded' at /secure/daemon/master at line 466
'CATCH' at /secure/daemon/master at line 466
'<fake>' at /secure/sefun/sefun (/<driver>) at line 0
'(: <code>() :)' at /secure/sefun/sefun at /secure/sefun/reload.c:87
'create' at /domains/default/npc/start_mother_deceased#30 at line 15
'SetHealthPoints' at /domains/default/npc/start_mother_deceased#30 (/lib/npc.c)
at line 695
'AddHealthPoints' at /domains/default/npc/start_mother_deceased#30
(/lib/body.c) at line 1523
'eventDie' at /domains/default/npc/start_mother_deceased#30 (/lib/npc.c) at
line 431
'eventDie' at /domains/default/npc/start_mother_deceased#30 (/lib/combat.c) at
line 500
Trace written to /log/catch
Now, I'm guessing this is something real simple, probably an incorrect argument or just using the wrong method.
But, Like I said new to DS and LPC in general.
I'll keep playing around, but thanks.