Yeah, Greever being a coder is my guess too.

It just puzzles me that, in my stand-alone mod, the following code in StoryEditor doesn't work:

Code
IF
CharacterItemEvent(_Player,ITEM_EFS_ChestLeverOut,"ChestDoorOut")
THEN
CharacterApplyStatus(_Player,"STUNNED",10.0);
CharacterPlayEffect(_Player,"FX_GP_Death_Lightning_A_Medium");


but this does:

Code
IF
CharacterItemEvent(_Player,ITEM_EFS_ChestLeverOut,"ChestDoorOut")
THEN
CharacterApplyStatus(_Player,"STUNNED",10.0);
CharacterPlayEffect(_Player,"FX_GP_Death_Lightning_A_Medium");

PROC
CharacterApplyStatus((CHARACTER)_Character,(STRING)_Status,(REAL)_Duration)
THEN
CharacterApplyStatus(_Character,_Status,_Duration,0);


It just seems odd to me that whatever the PROC>THEN piece of code is accomplishing isn't already integrated into the CharacterApplyStatus call itself, since surely that's what you expect CharacterApplyStatus to do. Further to that it makes me wary regarding what other calls require a second piece of code in order to simply work as expected.

Maybe I'm missing something extremely obvious?

In any case, I think I'm just going to copy that Greevers_Little_Help goal into my mod wholesale, ha.


Escape From Smalcatraz: Steam/Nexus. Forum thread.