Jump to content

Scripting help please!


Recommended Posts

Posted

No idea what is wrong with this, can someone please help? I'm new to scripting.

The script is just supposed to start sex when the player enters the trigger.

Geck keeps saying do you want to save this script when I try to exit, which im guessing there is an error.

 

 

 

 

scn Testscript

Begin OnTriggerEnter Player

if eval((0 == call fnSexoutActorInuse TestRef) && (0 == call fnSexoutActorInuse PlayerREF))
call fnSexoutActPrep
call fnSexoutActSetRef "actorA" TestREF
call fnSexoutActSetRef "actorB" PlayerREF
call fnSexoutActRun
endif

end

 

 

 

Guest tomm434
Posted
Are you using PowerUp for GECK? It should show you the line where the error is.

+1 !

 

 

 

vane000, I think you forgot second eval after &&

scn Testscript

Begin OnTriggerEnter Player

if eval((0 == call fnSexoutActorInuse TestRef) && EVAL (0 == call fnSexoutActorInuse PlayerREF))
call fnSexoutActPrep
call fnSexoutActSetRef "actorA" TestREF
call fnSexoutActSetRef "actorB" PlayerREF
call fnSexoutActRun
endif
end

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...