Jump to content

Scripting Problem


Kissimurra

Recommended Posts

Umm... As I said Im a total noob at scripting, so i didnt quite get it, when I try to save it just says could not find variable or function "Once Only"

 

?

Link to comment
Share on other sites

Yes I did, but it didnt work, well this is how the cript looks:

 

 

begin 111summon

;

;

; script location: summons my NPC

 

; variables

short done

( short OnceOnly?)

if ( OnActivate == 1 )

if ( done == 1 )

Activate

return

else

Set done to 1

PlaceAtPC "111_Warrior" 1 128 1

;1 of them, 256 units away, in back (1) of the player

Activate

endif

endif

 

End

Link to comment
Share on other sites

err you script is a figure 8 there thats your problem

 

try this

begin 111summon

short done

if ( OnActivate == 1 )
if ( done != 1 )
Set done to 1
PlaceAtPC "111_Warrior" 1 128 1
Activate
return
else
Activate
return
endif
endif

End

Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

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