So i have a super simple problem.


When a character goes to pick something up, i want it to check if a character is alive, and if so, do something

So -

IF
ItemAddedToCharacter(ITEM_KE_TheItem,_Player)
AND
???????????????????
THEN
ItemTeleportToPosition(ITEM_KE_TheItem,21.18,1.06,33.56);


for the ?????????? i've tried using
NOT CharacterIsDead(CHARACTER_Player1) (this just pretends the line isn't there)
!CharacterIsDead(CHARACTER_Player1) (doesn't compile)
CharacterIsDead(CHARACTER_Player1)-1 (thought i could modify the returned boolean, doesn't compile)

NOTHING is working. How do i negate a query (characterisdead is a query that returns a boolean)?

Last edited by RestarttGaming; 08/08/14 01:17 AM.