Anyways update list for r882!
- Adds getLightValue to world for scripting
- Adds the ability to trigger with world
- triggerBlock(int blockX, int blockY, int blockZ) - Quick trigger on and off for the specified block coords
- triggerArea(int minX, int minY, int minZ, int maxX, int maxY, int maxZ) - Quick trigger on and off for the specified area.
- setTriggerArea(int blockX, int blockY, int blockZ, int minX, int minY, int minZ, int maxX, int maxY, int maxZ) - Enables an active trigger for the specified area from a specified block. Trigger area will remain active till its removed.
- setTriggerArea(int blockX, int blockY, int blockZ, int areaID, int minX, int minY, int minZ, int maxX, int maxY, int maxZ) - Enables an active trigger for the specified area from a specified block with a specified areaID. Trigger area will remain active till its removed.
- removeTriggerArea(int blockX, int blockY, int blockZ, int areaID) - Removes a trigger for a specified block coord and areaID.
- removeTriggerAreas(int blockX, int blockY, int blockZ) - Removes all triggers for a specified block coord.
- Map download screen supports more than 6 maps now at the normal resolution
- Simple variables in scripting get saved out now (includes strings, booleans, and number variables).
- onInteraction is now accessible from scripts for EntityLivingScript
Please,help me!When I try to install adventure craft on my computer, appears the following error:"The minecraft.jar is not from a fresh install".
ReplyDelete1.7 jars won't work.
ReplyDeleteIs that why there is no start button when I open my adventurecraft.exe?
ReplyDeleteYep, till it's installed correctly it won't allow you to run AC.
ReplyDeleteCan you post a download to a 1.6.6 version of minecraft if you have it? I cant find a torrent of it.
ReplyDeleteYou should know that he won't. Plus, I doubt pirated versions work with AC anymore.
ReplyDeleteCryect, I have a question about scripting. I want an NPC to start walking when I arrive at a certain area. I already used entity.setVelocity, and I know that works, but how can I manipulate the new trigger param to work with the NPC?
Yeah, pirated versions aren't likely to work due to JAR validation.
ReplyDelete@SN777, First I would have the NPC on its load put it self into a global variable. Then have a script block that gets triggered by a trigger block that tells that NPC from the global variable to path using either pathToEntity(Entity e) or pathToBlock(x, y, z)
@Cryect:Can't seem to get the script to function properly.
ReplyDeleteI have globalOnLoad as:
var e = 0
Then I have a variable activation script as:
var e = 1
Then the NPC onUpdate script as:
if(e = 1) {
entity.pathToBlock(-228, 120, -314);
} else {
entity.pathToBlock(-228, 120, -302);
}
It seems that the NPC always thinks variable e is 1, even when I deactivated the script. Plus, even though used merely as a revertion param, the else arguement doesn't seem to be recognized.