BIO rules not in C:\Program Files\OpenRA\mods\ra\rules
Can't use actor.create to make biolab.
Information and discussion for custom maps and mods.
-
Lassar
- Posts: 33
- Joined: Tue Dec 18, 2018 11:20 pm
Post
by Lassar »
Code: Select all
local BioLab = Actor.Create( "bio " , true, { Owner = greece, Location = BioLab.Location })
Tried to create a biolab and got this error.
---> System.NotImplementedException: No rules definition for unit bio
Could not really find anything in C:\Program Files\OpenRA\mods\ra\rules.
The best I could figure out is.
And that is not working.
Should not BIO be defined in the structures.yaml
Looks like someone forgot to put it in structures.yaml
-
Sleipnir
- Posts: 878
- Joined: Thu Apr 11, 2002 12:52 am
Post
by Sleipnir »
It looks like you have a stray space in the string "bio ". Try giving it "bio" instead.
-
Lassar
- Posts: 33
- Joined: Tue Dec 18, 2018 11:20 pm
Post
by Lassar »
Thank you, that was the problem.
Users browsing this forum: No registered users and 3 guests