Page MenuHomeFeedback Tracker

createCenter error
Closed, ResolvedPublic

Description

Error createcenter: Type Object, expected side

For what ever reason it is not reading "east" as a Side only as a object. {F20735}

Details

Legacy ID
1882078860
Severity
None
Resolution
Fixed
Reproducibility
Always
Category
Scripting
Steps To Reproduce

_this = createCenter east;
_this setFriend [west, 0];
_center_0 = _this;

Additional Information

Also there is an error in one of your modules. I don't know which one but I get this error.
Error createcenter: Type Object, expected side| "A3\modules_f\sites\init_core.sqf, line 8"

Event Timeline

Johnson11B2P edited Additional Information. (Show Details)
Johnson11B2P set Category to Scripting.
Johnson11B2P set Reproducibility to Always.
Johnson11B2P set Severity to None.
Johnson11B2P set Resolution to Fixed.
Johnson11B2P set Legacy ID to 1882078860.May 7 2016, 3:22 PM

Works fine for me. You must have shadowed east as an object.

Eg. missionNamespace setVariable ["east", player]; or otherwise.

Try doing
missionNamespace setVariable ["east", nil];
right before you try to use east.

You're totally right MulleDK19 I did that. Can BIS put a block on it to make sure that can't happen?

No. That's supposed to happen.

You shouldn't be able to overwrite scripting commands anymore. Closing as fixed.

MadDogX added a subscriber: MadDogX.May 7 2016, 3:22 PM

Mass closing tickets marked as resolved more than 1 month ago.

If the issue is in fact not resolved, please create a new ticket referencing this one and ask for it to be re-opened.