mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Added all the new scripts for the actor instancing system.
This commit is contained in:
		| @@ -0,0 +1,28 @@ | ||||
| function init(npc) | ||||
| 	return false, false, 0, 0; | ||||
| end | ||||
|  | ||||
| function onEventStarted(player, npc) | ||||
| 	isNew = false; | ||||
| 	player:runEventFunction("eventTalkStep1", isNew); | ||||
| end | ||||
|  | ||||
| function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest) | ||||
|  | ||||
| 	if (menuOptionSelected == nil) then | ||||
| 		player:endEvent(); | ||||
| 		return; | ||||
| 	end | ||||
|  | ||||
| 	isNew = false; | ||||
| 	if (menuOptionSelected == 1) then | ||||
| 		player:runEventFunction("eventTalkStep2", isNew); | ||||
| 	elseif (menuOptionSelected == 10) then | ||||
| 		player:endEvent(); | ||||
| 		return; | ||||
| 	elseif (menuOptionSelected == 3) then | ||||
| 		--createLinkshell | ||||
| 		player:runEventFunction("eventTalkStepMakeupDone", isNew); | ||||
| 	end	 | ||||
| 	 | ||||
| end | ||||
		Reference in New Issue
	
	Block a user