Kissimurra Posted May 25, 2005 Author Share Posted May 25, 2005 Thanks alot, I will try to fix it now :) Link to comment Share on other sites More sharing options...
Kissimurra Posted May 25, 2005 Author Share Posted May 25, 2005 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 More sharing options...
ThetaOrionis01 Posted May 25, 2005 Share Posted May 25, 2005 Did you declare the variable, ie put in a line short OnceOnly ? Link to comment Share on other sites More sharing options...
Kissimurra Posted May 25, 2005 Author Share Posted May 25, 2005 Yes I did, but it didnt work, well this is how the cript looks: begin 111summon; ;; script location: summons my NPC ; variablesshort 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 endifendif End Link to comment Share on other sites More sharing options...
Wookiee Posted May 27, 2005 Share Posted May 27, 2005 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 More sharing options...
Kissimurra Posted June 2, 2005 Author Share Posted June 2, 2005 Thanks wookie :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.