![]() Returns the CardID based on the "hud"-attribute defined in the "pocketitems.xml" file. Int GetCardIdByName ( string cardHudName ) ⚓︎ Table GetCallbacks ( function callbackId, boolean createIfMissing ) ⚓︎ This function does not return the entities sorted by nearest first, but based on the order they were loaded.īoolean GetBuiltInCallbackState ( function callbackId ) ⚓︎ Returns entities in range of Radius from Position filtered by Partitions mask (see EntityPartition enum) (include all = 0xffffffff) ![]() Table FindInRadius ( Vector Position, float Radius, int Partitions = 0xFFFFFFFF ) ⚓︎ If you need to get an entity with that flag then you should use GetRoomEntities instead. If an entity has EntityFlag.FLAG_NO_QUERY then it will be excluded from the results. ![]() Use Cache flag for multiple calls per frame. If Variant and/or Subtype is -1 then everything is included. Returns entities based on Type, Variant, Subtype. Table FindByType ( EntityType Type, int Variant = -1, int SubType = -1, boolean Cache = false, boolean IgnoreFriendly = false ) ⚓︎ Spawn an explosion on a specified location. Void Explode ( Vector pos, Entity source, float damage ) ⚓︎ see theĭebug Console Tutorial for informations on how to use commands. This function executes a debug console command. String ExecuteCommand ( string command ) ⚓︎ DebugString ( "This is a Test." ) - Output: - Lua Debug: This is a Test. This code prints "This is a Test." in the log.txt file. You can find this file here % systemdrive % \ Users \ % username % \ Documents \ My Games \ Binding of Isaac Repentance \ log. Variant and Subtype refer to the found entitys Variant and Subtype (Can be - 1) ![]() Type refers to the found entity's type (Can be EntityType. Spawner refers to an entity object (can be nil) Returns the number of entities in the current room that fulfill the specified requirements. Int CountEntities ( Entity Spawner, EntityType Type = EntityType.ENTITY_NULL, int Variant = -1, int SubType = -1 ) ⚓︎ Returns the number of enemies in the current room. Returns the number of bosses in the current room. Alternatively: print ( "This is a Test." ) - Output: This is a Test. ConsoleOutput ( "This is a Test." ) - Output: This is a Test. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |