mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Added trigger name to all the scripts that had params. Implemented the Gridania opening stoper.
This commit is contained in:
		| @@ -2,7 +2,7 @@ function onInstantiate(npc) | ||||
| 	return "/Chara/Npc/Object/ObjectBed", false, false, false, false, false, 0x1250FB, false, false, 0, 1, "TEST";	 | ||||
| end | ||||
|  | ||||
| function onEventStarted(player, npc) | ||||
| function onEventStarted(player, npc, triggerName) | ||||
| 	player:runEventFunction("askLogout", player); | ||||
| end | ||||
|  | ||||
|   | ||||
| @@ -2,7 +2,7 @@ function onInstantiate(npc) | ||||
| 	return "/Chara/Npc/Object/ObjectInnDoor", false, false, false, false, false, 0x1250F8, false, false, 0, 1, "TEST";	 | ||||
| end | ||||
|  | ||||
| function onEventStarted(player, npc) | ||||
| function onEventStarted(player, npc, triggerName) | ||||
| end | ||||
|  | ||||
| function onEventUpdate(player, npc) | ||||
|   | ||||
| @@ -2,7 +2,7 @@ function onInstantiate(npc) | ||||
| 	return "/Chara/Npc/Object/ObjectItemStorage", false, false, false, false, false, 0x1250F8, false, false, 0, 1, "TEST";	 | ||||
| end | ||||
|  | ||||
| function onEventStarted(player, npc) | ||||
| function onEventStarted(player, npc, triggerName) | ||||
| end | ||||
|  | ||||
| function onEventUpdate(player, npc) | ||||
|   | ||||
| @@ -2,7 +2,7 @@ function onInstantiate(npc) | ||||
| 	return "/Chara/Npc/Populace/PopulaceCutScenePlayer", false, false, false, false, false, 0x107B38, false, false, 0, 1, "TEST";	 | ||||
| end | ||||
|  | ||||
| function onEventStarted(player, npc) | ||||
| function onEventStarted(player, npc, triggerName) | ||||
| end | ||||
|  | ||||
| function onEventUpdate(player, npc) | ||||
|   | ||||
| @@ -2,7 +2,7 @@ function onInstantiate(npc) | ||||
| 	return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";	 | ||||
| end | ||||
|  | ||||
| function onEventStarted(player, npc) | ||||
| function onEventStarted(player, npc, triggerName) | ||||
| end | ||||
|  | ||||
| function onEventUpdate(player, npc) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user